diff options
-rw-r--r-- | src/gos/win32.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gos/win32.c b/src/gos/win32.c index 02ba1b67..7f0ff037 100644 --- a/src/gos/win32.c +++ b/src/gos/win32.c @@ -21,7 +21,8 @@ void _gosInit(void) { } void gfxHalt(const char *msg) { - fprintf(stderr, "%s\n", msg); + if (msg) + fprintf(stderr, "%s\n", msg); ExitProcess(1); } |