diff options
| -rw-r--r-- | uisimulator/win32/uisw32.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/win32/uisw32.c b/uisimulator/win32/uisw32.c index fb15a85..d098c6e 100644 --- a/uisimulator/win32/uisw32.c +++ b/uisimulator/win32/uisw32.c @@ -325,7 +325,7 @@ int WINAPI WinMain ( hSoundThread = CreateThread (NULL, 0, (LPTHREAD_START_ROUTINE) sound_playback_thread, NULL, 0, &dwThreadID); - if (hGUIThread == NULL) + if (hSoundThread == NULL) MessageBox (NULL, "Error creating sound thread!", "Warning", MB_OK); #endif |