]> git.xonotic.org Git - xonotic/gmqcc.git/blobdiff - stat.c
Oh my god microsoft you suck
[xonotic/gmqcc.git] / stat.c
diff --git a/stat.c b/stat.c
index 4cd82bc7b46d4607001221c14d39f24e6249cd65..3b54d6e494f63f4cc23db2ca79afc75bdcd717fc 100644 (file)
--- a/stat.c
+++ b/stat.c
@@ -24,7 +24,6 @@
 
 #include <string.h>
 #include <stdlib.h>
-#include <ctype.h>
 
 #include "gmqcc.h"
 
@@ -613,7 +612,7 @@ static void stat_dump_mem_contents(stat_mem_block_t *memory, uint16_t cols) {
                 con_out("%c",
                     (j >= memory->size)
                         ? ' '
-                        : (isprint(((unsigned char*)(memory + 1))[j]))
+                        : (util_isprint(((unsigned char*)(memory + 1))[j]))
                             ? 0xFF & ((unsigned char*)(memory + 1)) [j]
                             : '.'
                 );