Skip to content
Snippets Groups Projects
Commit 57d66fa4 authored by deuce's avatar deuce
Browse files

Enable screen output when displaying log messages.

parent 5d93df09
No related branches found
No related tags found
No related merge requests found
......@@ -289,6 +289,7 @@ static int lputs(void* cbdata, int level, const char* str)
{
char msg[512];
int chars;
int oldhold=hold_update;
#if defined(_WIN32) && defined(_DEBUG) && FALSE
sprintf(msg,"SyncTerm: %s\n",str);
......@@ -327,7 +328,9 @@ static int lputs(void* cbdata, int level, const char* str)
SAFEPRINTF(msg,"!ERROR: %s\r\n",str);
break;
}
hold_update=FALSE;
chars=cputs(msg);
hold_update=oldhold;
gettextinfo(&log_ti);
return chars;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment