From 4bee5075020aecfa7a30ba196bac0603b3be11cd Mon Sep 17 00:00:00 2001 From: Jens Arnold Date: Thu, 21 Jul 2005 10:19:50 +0000 Subject: [PATCH] Check the correct thread handle. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657 --- uisimulator/win32/uisw32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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