diff options
Diffstat (limited to 'src/libui_sdl/libui/windows')
-rw-r--r-- | src/libui_sdl/libui/windows/stddialogs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libui_sdl/libui/windows/stddialogs.cpp b/src/libui_sdl/libui/windows/stddialogs.cpp index eb535cb..d0fd506 100644 --- a/src/libui_sdl/libui/windows/stddialogs.cpp +++ b/src/libui_sdl/libui/windows/stddialogs.cpp @@ -16,7 +16,7 @@ #define windowHWND(w) (w ? (HWND) uiControlHandle(uiControl(w)) : NULL) -char *commonItemDialog(HWND parent, REFCLSID clsid, REFIID iid, char* filter, char* initpath, FILEOPENDIALOGOPTIONS optsadd) +char *commonItemDialog(HWND parent, REFCLSID clsid, REFIID iid, const char* filter, const char* initpath, FILEOPENDIALOGOPTIONS optsadd) { IFileDialog *d = NULL; FILEOPENDIALOGOPTIONS opts; @@ -108,7 +108,7 @@ out: return name; } -char *uiOpenFile(uiWindow *parent, char* filter, char* initpath) +char *uiOpenFile(uiWindow *parent, const char* filter, const char* initpath) { char *res; @@ -121,7 +121,7 @@ char *uiOpenFile(uiWindow *parent, char* filter, char* initpath) return res; } -char *uiSaveFile(uiWindow *parent, char* filter, char* initpath) +char *uiSaveFile(uiWindow *parent, const char* filter, const char* initpath) { char *res; |