From 817b63be999ecaff7eecd8f4fc1b1221687a102a Mon Sep 17 00:00:00 2001 From: neville Date: Wed, 8 Jun 2016 17:39:20 +0200 Subject: [PATCH] (OSX) Buildfix for pre-OSX 10.6 --- ui/drivers/cocoa/ui_cocoa_browser_window.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/drivers/cocoa/ui_cocoa_browser_window.m b/ui/drivers/cocoa/ui_cocoa_browser_window.m index 199585fdca..aa5daa4d5f 100644 --- a/ui/drivers/cocoa/ui_cocoa_browser_window.m +++ b/ui/drivers/cocoa/ui_cocoa_browser_window.m @@ -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) return false; #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 setCanChooseDirectories:NO]; [panel setCanChooseFiles:YES];