Fixed Mac OS X assertion code.
authorRyan C. Gordon <icculus@icculus.org>
Wed, 13 Jan 2010 09:10:17 +0000
changeset 3660 2d17445190f6
parent 3659 61eab53fd6fe
child 3661 22b6a0c7ea6e
Fixed Mac OS X assertion code.
src/video/cocoa/SDL_cocoavideo.m
--- 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: