Small gfxHalt bug fix for Win32 platform

ugfx_release_2.6
inmarket 2013-07-21 17:27:11 +10:00
parent da0296788e
commit 45c8e9052d
1 changed files with 2 additions and 1 deletions

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