mirror of
https://github.com/aseprite/aseprite.git
synced 2024-12-29 09:23:32 +00:00
Correct usage of variable arguments
This commit is contained in:
parent
44258a8442
commit
57db16efec
@ -68,6 +68,7 @@ void verbose_log(const char* format, ...)
|
|||||||
fflush(app::log_fileptr);
|
fflush(app::log_fileptr);
|
||||||
|
|
||||||
#ifdef _DEBUG
|
#ifdef _DEBUG
|
||||||
|
va_start(ap, format);
|
||||||
vfprintf(stderr, format, ap);
|
vfprintf(stderr, format, ap);
|
||||||
fflush(stderr);
|
fflush(stderr);
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user