Whoops, that should be vfprintf(), not fprintf(). :)
authorRyan C. Gordon <icculus@icculus.org>
Wed, 13 Jan 2010 16:58:24 +0000
changeset 3669 46d27a9571fa
parent 3668 6952d2b783e6
child 3670 62b6a5b99918
Whoops, that should be vfprintf(), not fprintf(). :)
src/SDL_assert.c
--- a/src/SDL_assert.c	Wed Jan 13 16:21:26 2010 +0000
+++ b/src/SDL_assert.c	Wed Jan 13 16:58:24 2010 +0000
@@ -85,7 +85,7 @@
     /* Unix has it easy. Just dump it to stderr. */
     va_list ap;
     va_start(ap, fmt);
-    fprintf(stderr, fmt, ap);
+    vfprintf(stderr, fmt, ap);
     va_end(ap);
     fflush(stderr);
 #endif