# HG changeset patch # User Ryan C. Gordon # Date 1263373817 0 # Node ID 2d17445190f6d0e04826015d2a897435909da69d # Parent 61eab53fd6fe5bc800522ed3c575d4e793cab7d3 Fixed Mac OS X assertion code. diff -r 61eab53fd6fe -r 2d17445190f6 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: