Fix argument padding for win_fputs and alike.

This commit is contained in:
Dale Weiler 2013-01-03 10:33:35 +00:00
parent a168c5efbe
commit 0ab15e9f22

View file

@ -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(data, handle) : file_puts(data, handle);
ln = (GMQCC_IS_DEFINE(handle)) ? win_fputs(handle, data) : file_puts(handle, data);
}
#endif
return ln;