mirror of
https://github.com/aseprite/aseprite.git
synced 2025-01-29 03:32:48 +00:00
Make verbose_log() print on stdout when _DEBUG is enabled
This commit is contained in:
parent
76e7d15484
commit
05b70d2538
@ -63,8 +63,16 @@ void verbose_log(const char* format, ...)
|
||||
if (app::log_fileptr) {
|
||||
va_list ap;
|
||||
va_start(ap, format);
|
||||
|
||||
vfprintf(app::log_fileptr, format, ap);
|
||||
fflush(app::log_fileptr);
|
||||
|
||||
#ifdef _DEBUG
|
||||
vfprintf(stdout, format, ap);
|
||||
fflush(stdout);
|
||||
#endif
|
||||
|
||||
va_end(ap);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user