mirror of
https://github.com/libretro/RetroArch
synced 2025-01-30 12:32:52 +00:00
(OSX) Buildfix for pre-OSX 10.6
This commit is contained in:
parent
1cd441b125
commit
817b63be99
@ -33,7 +33,7 @@ static bool ui_browser_window_cocoa_open(ui_browser_window_state_t *state)
|
|||||||
if ([panel runModalForDirectory:BOXSTRING(state->startdir) file:nil] != 1)
|
if ([panel runModalForDirectory:BOXSTRING(state->startdir) file:nil] != 1)
|
||||||
return false;
|
return false;
|
||||||
#else
|
#else
|
||||||
[panel setTitle:NSLocalizedString(BOXSTRING(string->title), BOXSTRING("open panel"))];
|
[panel setTitle:NSLocalizedString(BOXSTRING(state->title), BOXSTRING("open panel"))];
|
||||||
[panel setDirectory:BOXSTRING(state->startdir)];
|
[panel setDirectory:BOXSTRING(state->startdir)];
|
||||||
[panel setCanChooseDirectories:NO];
|
[panel setCanChooseDirectories:NO];
|
||||||
[panel setCanChooseFiles:YES];
|
[panel setCanChooseFiles:YES];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user