changeset 3660:2d17445190f6

Fixed Mac OS X assertion code.
author Ryan C. Gordon <icculus@icculus.org>
date Wed, 13 Jan 2010 09:10:17 +0000
parents 61eab53fd6fe
children 22b6a0c7ea6e
files src/video/cocoa/SDL_cocoavideo.m
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: