diff options
Diffstat (limited to 'src/libui_sdl/libui/darwin/stddialogs.m')
-rw-r--r-- | src/libui_sdl/libui/darwin/stddialogs.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libui_sdl/libui/darwin/stddialogs.m b/src/libui_sdl/libui/darwin/stddialogs.m index 42cb94c..c826035 100644 --- a/src/libui_sdl/libui/darwin/stddialogs.m +++ b/src/libui_sdl/libui/darwin/stddialogs.m @@ -32,7 +32,7 @@ static char *runSavePanel(NSWindow *parent, NSSavePanel *s) return filename; } -char *uiOpenFile(uiWindow *parent, char* filter, char* initpath) +char *uiOpenFile(uiWindow *parent, const char* filter, const char* initpath) { NSOpenPanel *o; @@ -46,7 +46,7 @@ char *uiOpenFile(uiWindow *parent, char* filter, char* initpath) return runSavePanel(windowWindow(parent), o); } -char *uiSaveFile(uiWindow *parent, char* filter, char* initpath) +char *uiSaveFile(uiWindow *parent, const char* filter, const char* initpath) { NSSavePanel *s; |