]> git.rm.cloudns.org Git - xonotic/gmqcc.git/commitdiff
fixes
authorDale Weiler <killfieldengine@gmail.com>
Thu, 20 Dec 2012 09:44:47 +0000 (09:44 +0000)
committerDale Weiler <killfieldengine@gmail.com>
Thu, 20 Dec 2012 09:44:47 +0000 (09:44 +0000)
con.c

diff --git a/con.c b/con.c
index b20febd516a10aefd8069f09f32f28f8e4c62d18..7406caed3fc67ab25a01bdc476645cb9b395d253 100644 (file)
--- a/con.c
+++ b/con.c
@@ -102,7 +102,7 @@ static const ansi2win[] = {
     WWHITE
 };
 
-static void win_fputs(char *str, FILE *f) {
+static void win_fputs(char *str, FILE *h) {
     /* state for translate */
     int acolor;
     int wcolor;
@@ -117,7 +117,7 @@ static void win_fputs(char *str, FILE *f) {
     int colorpos = 1;
 
     CONSOLE_SCREEN_BUFFER_INFO cinfo;
-    GetConsoleScreenBufferInfo(
+    GetConsoleScreenBufferInfo (
         (GMQCC_IS_STDOUT(h)) ?
             GetStdHandle(STD_OUTPUT_HANDLE) :
             GetStdHandle(STD_ERROR_HANDLE), &cinfo
@@ -156,7 +156,7 @@ static void win_fputs(char *str, FILE *f) {
                     intense = WBLACK;
                 }
 
-                SetConsoleTextattribute(
+                SetConsoleTextAttribute (
                     (h == stdout) ?
                     GetStdHandle(STD_OUTPUT_HANDLE) :
                     GetStdHandle(STD_ERROR_HANDLE),