1
0
Fork 0

Merge branch 'svn/trunk' r4305

This commit is contained in:
Patryk Obara 2020-01-07 11:23:44 +01:00
commit 343b9babca
2 changed files with 40 additions and 35 deletions

View file

@ -66,7 +66,10 @@ void DEBUG_ShowMsg(char const* format,...) {
size_t len = strlen(buf);
if(buf[len - 1] != '\n' && len + 1 < sizeof(buf) ) strcat(buf,"\n");
if(debuglog) fprintf(debuglog,"%s",buf);
if (debuglog) {
fprintf(debuglog,"%s",buf);
fflush(debuglog);
}
if (logBuffPos != logBuff.end()) {
logBuffPos=logBuff.end();