Mercurial > sdl-ios-xcode
comparison src/SDL_assert.c @ 3669:46d27a9571fa
Whoops, that should be vfprintf(), not fprintf(). :)
author | Ryan C. Gordon <icculus@icculus.org> |
---|---|
date | Wed, 13 Jan 2010 16:58:24 +0000 |
parents | 8bdc37b1a52a |
children | 62b6a5b99918 |
comparison
equal
deleted
inserted
replaced
3668:6952d2b783e6 | 3669:46d27a9571fa |
---|---|
83 } | 83 } |
84 #else | 84 #else |
85 /* Unix has it easy. Just dump it to stderr. */ | 85 /* Unix has it easy. Just dump it to stderr. */ |
86 va_list ap; | 86 va_list ap; |
87 va_start(ap, fmt); | 87 va_start(ap, fmt); |
88 fprintf(stderr, fmt, ap); | 88 vfprintf(stderr, fmt, ap); |
89 va_end(ap); | 89 va_end(ap); |
90 fflush(stderr); | 90 fflush(stderr); |
91 #endif | 91 #endif |
92 } | 92 } |
93 | 93 |