Small gfxHalt bug fix for Win32 platform

This commit is contained in:
inmarket 2013-07-21 17:27:11 +10:00
parent da0296788e
commit 45c8e9052d

View File

@ -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);
}