From: Dale Weiler Date: Mon, 11 Feb 2013 18:02:42 +0000 (+0000) Subject: fix X-Git-Tag: before-library~113 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=3b923a01836b889579658412f6ce81a918c5da68;p=xonotic%2Fgmqcc.git fix --- diff --git a/conout.c b/conout.c index b7cc2e1..8613ece 100644 --- a/conout.c +++ b/conout.c @@ -168,7 +168,7 @@ static int win_fputs(FILE *h, const char *str) { state = -1; } } else { - file_putc(h, *str); + fs_file_putc(h, *str); length ++; } str++; @@ -219,7 +219,7 @@ static int con_write(FILE *handle, const char *fmt, va_list va) { char data[4096]; memset(data, 0, sizeof(data)); vsnprintf(data, sizeof(data), fmt, va); - ln = (GMQCC_IS_DEFINE(handle)) ? win_fputs(handle, data) : file_puts(handle, data); + ln = (GMQCC_IS_DEFINE(handle)) ? win_fputs(handle, data) : fs_file_puts(handle, data); } #endif return ln;