Merge branch 'svn/trunk' r4305
This commit is contained in:
commit
343b9babca
2 changed files with 40 additions and 35 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue