mirror of
https://github.com/joel16/SDL2.git
synced 2025-03-04 17:39:32 +00:00
Whoops, that should be vfprintf(), not fprintf(). :)
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404420
This commit is contained in:
parent
7ab6608457
commit
281945aa84
@ -85,7 +85,7 @@ debug_print(const char *fmt, ...)
|
|||||||
/* Unix has it easy. Just dump it to stderr. */
|
/* Unix has it easy. Just dump it to stderr. */
|
||||||
va_list ap;
|
va_list ap;
|
||||||
va_start(ap, fmt);
|
va_start(ap, fmt);
|
||||||
fprintf(stderr, fmt, ap);
|
vfprintf(stderr, fmt, ap);
|
||||||
va_end(ap);
|
va_end(ap);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user