mirror of
https://github.com/DarkPlacesEngine/gmqcc.git
synced 2024-11-23 20:33:05 +00:00
Fix argument padding for win_fputs and alike.
This commit is contained in:
parent
a168c5efbe
commit
0ab15e9f22
1 changed files with 1 additions and 1 deletions
2
conout.c
2
conout.c
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue