summaryrefslogtreecommitdiffstats
path: root/uisimulator/win32/uisw32.c
diff options
context:
space:
mode:
Diffstat (limited to 'uisimulator/win32/uisw32.c')
-rw-r--r--uisimulator/win32/uisw32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/uisimulator/win32/uisw32.c b/uisimulator/win32/uisw32.c
index fb15a856b7..d098c6ef24 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