Flush output

This commit is contained in:
momo5502 2016-03-11 23:24:43 +01:00
parent ddfd65cad4
commit e75c21be71

View File

@ -415,6 +415,7 @@ namespace Components
void Console::StdOutPrint(const char* message)
{
printf("%s", message);
fflush(stdout);
}
void Console::StdOutError(const char* format, ...)
@ -427,6 +428,7 @@ namespace Components
va_end(ap);
perror(buffer);
fflush(stderr);
ExitProcess(1);
}