summaryrefslogtreecommitdiffstats
path: root/uisimulator
diff options
context:
space:
mode:
authorJens Arnold <amiconn@rockbox.org>2005-07-21 10:19:50 +0000
committerJens Arnold <amiconn@rockbox.org>2005-07-21 10:19:50 +0000
commit4bee5075020aecfa7a30ba196bac0603b3be11cd (patch)
tree9f8778d1a02357949f75af4d1637263810424202 /uisimulator
parent6e5171d354260890263702125333a9d005eea22b (diff)
downloadrockbox-4bee5075020aecfa7a30ba196bac0603b3be11cd.tar.gz
rockbox-4bee5075020aecfa7a30ba196bac0603b3be11cd.tar.bz2
rockbox-4bee5075020aecfa7a30ba196bac0603b3be11cd.zip
Check the correct thread handle.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'uisimulator')
-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