Fixed a NSLog() format string.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 02 Sep 2011 14:00:10 -0400
changeset 5865 40dfc30cea83
parent 5863 ab97e8ce122a
child 5866 c9f179fd2ef7
Fixed a NSLog() format string. Thanks to Mattias Holm for the patch!
src/video/cocoa/SDL_cocoavideo.m
--- a/src/video/cocoa/SDL_cocoavideo.m	Fri Sep 02 13:54:45 2011 -0400
+++ b/src/video/cocoa/SDL_cocoavideo.m	Fri Sep 02 14:00:10 2011 -0400
@@ -234,7 +234,7 @@
                 data->trigger_count, (data->trigger_count == 1) ? "" : "s",
                 data->condition];
 
-    NSLog(@"%s", msg);
+    NSLog(@"%@", msg);
 
     /*
      * !!! FIXME: this code needs to deal with fullscreen modes: