]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - conout.c
Fix compile for windows.
[xonotic/gmqcc.git] / conout.c
index 0595f33f6fe23931417bc2d11839e78f82419f13..00b81580760e90989ab4c46d9255c976d57e75f1 100644 (file)
--- a/conout.c
+++ b/conout.c
@@ -168,7 +168,7 @@ static int win_fputs(FILE *h, const char *str) {
                 state    = -1;
             }
         } else {
-            fs_file_putc(h, *str);
+            fs_file_write(str, 1, 1, stdout);
             length ++;
         }
         str++;