summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-08-10 12:47:16 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-08-10 12:47:16 +0000
commita9fde2856c08b78f43aae5d6a2c94d8b78062511 (patch)
treed40fd4fd3ff279a31e0b4cebeae30d080da0da52 /src
parent7ea878b938d9bfa3224fa40f16182555632b260f (diff)
downloadopenttd-a9fde2856c08b78f43aae5d6a2c94d8b78062511.tar.xz
(svn r25710) -Fix: string arguments to NSNotificationCenter::addObserver and NSNotificationCenter::postNotificationName can't be const in certain versions of OSX
Diffstat (limited to 'src')
-rw-r--r--src/video/cocoa/cocoa_v.mm2
1 files changed, 1 insertions, 1 deletions
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";
/**