]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
Fix compile for windows.
authorDale Weiler <killfieldengine@gmail.com>
Wed, 17 Apr 2013 04:27:00 +0000 (04:27 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Wed, 17 Apr 2013 04:27:00 +0000 (04:27 +0000)
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++;