- fixed: PRINT_LOG no longer worked since replacing the console buffer.

This commit is contained in:
Christoph Oelckers 2014-11-09 12:11:58 +01:00
parent c28c0b8f0b
commit d64a4a17ff

View file

@ -561,6 +561,11 @@ int PrintString (int printlevel, const char *outline)
maybedrawnow (false, false);
}
}
else if (Logfile != NULL)
{
fputs (outline, Logfile);
fflush (Logfile);
}
return (int)strlen (outline);
}