Check the correct thread handle.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7209 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jens Arnold 2005-07-21 10:19:50 +00:00
parent 6e5171d354
commit 4bee507502

View file

@ -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