Mercurial > sdl-ios-xcode
diff src/video/cocoa/SDL_cocoavideo.m @ 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 | c5925cd41955 |
children | 5e1f9cb9fa98 |
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: