src/video/cocoa/SDL_cocoavideo.m
changeset 3660 2d17445190f6
parent 3647 c5925cd41955
child 4457 5e1f9cb9fa98
--- a/src/video/cocoa/SDL_cocoavideo.m	Wed Jan 13 08:53:32 2010 +0000
+++ b/src/video/cocoa/SDL_cocoavideo.m	Wed Jan 13 09:10:17 2010 +0000
@@ -22,6 +22,7 @@
 #include "SDL_config.h"
 
 #include "SDL_cocoavideo.h"
+#include "SDL_assert.h"
 
 /* Initialization/Query functions */
 static int Cocoa_VideoInit(_THIS);
@@ -154,7 +155,7 @@
                 data->trigger_count, (data->trigger_count == 1) ? "" : "s",
                 data->condition];
 
-    NSLog(msg);
+    NSLog(@"%s", msg);
 
     /*
      * !!! FIXME: this code needs to deal with fullscreen modes: