aboutsummaryrefslogtreecommitdiffstats
path: root/src/gos
diff options
context:
space:
mode:
authorinmarket <andrewh@inmarket.com.au>2013-07-21 17:27:11 +1000
committerinmarket <andrewh@inmarket.com.au>2013-07-21 17:27:11 +1000
commit45c8e9052def490299522b57ae7d8d5c59b0341d (patch)
tree2b1effffc7d8df0c093c5db821034d093dadd132 /src/gos
parentda0296788e4aea4e7800f2ff3bbd32613268aa5e (diff)
downloaduGFX-45c8e9052def490299522b57ae7d8d5c59b0341d.tar.gz
uGFX-45c8e9052def490299522b57ae7d8d5c59b0341d.tar.bz2
uGFX-45c8e9052def490299522b57ae7d8d5c59b0341d.zip
Small gfxHalt bug fix for Win32 platform
Diffstat (limited to 'src/gos')
-rw-r--r--src/gos/win32.c3
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);
}