From a9fde2856c08b78f43aae5d6a2c94d8b78062511 Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Sat, 10 Aug 2013 12:47:16 +0000 Subject: (svn r25710) -Fix: string arguments to NSNotificationCenter::addObserver and NSNotificationCenter::postNotificationName can't be const in certain versions of OSX --- src/video/cocoa/cocoa_v.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm index 2b6e9616d..fb60a6f16 100644 --- a/src/video/cocoa/cocoa_v.mm +++ b/src/video/cocoa/cocoa_v.mm @@ -58,7 +58,7 @@ static bool _cocoa_video_dialog = false; CocoaSubdriver *_cocoa_subdriver = NULL; -static const NSString *OTTDMainLaunchGameEngine = @"ottdmain_launch_game_engine"; +static NSString *OTTDMainLaunchGameEngine = @"ottdmain_launch_game_engine"; /** -- cgit v1.2.3-54-g00ecf