From 0ab15e9f22a0ac936c57a2be99d32c2d3f7b3a13 Mon Sep 17 00:00:00 2001 From: Dale Weiler Date: Thu, 3 Jan 2013 10:33:35 +0000 Subject: [PATCH] Fix argument padding for win_fputs and alike. --- conout.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/conout.c b/conout.c index 2ccbd40..81cf481 100644 --- a/conout.c +++ b/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;