Fixed Mac OS X assertion code.
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404411
This commit is contained in:
parent
34cca2b9f2
commit
e484ea63b0
1 changed files with 2 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
||||||
#include "SDL_config.h"
|
#include "SDL_config.h"
|
||||||
|
|
||||||
#include "SDL_cocoavideo.h"
|
#include "SDL_cocoavideo.h"
|
||||||
|
#include "SDL_assert.h"
|
||||||
|
|
||||||
/* Initialization/Query functions */
|
/* Initialization/Query functions */
|
||||||
static int Cocoa_VideoInit(_THIS);
|
static int Cocoa_VideoInit(_THIS);
|
||||||
|
@ -154,7 +155,7 @@ SDL_PromptAssertion_cocoa(const SDL_assert_data *data)
|
||||||
data->trigger_count, (data->trigger_count == 1) ? "" : "s",
|
data->trigger_count, (data->trigger_count == 1) ? "" : "s",
|
||||||
data->condition];
|
data->condition];
|
||||||
|
|
||||||
NSLog(msg);
|
NSLog(@"%s", msg);
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* !!! FIXME: this code needs to deal with fullscreen modes:
|
* !!! FIXME: this code needs to deal with fullscreen modes:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue