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:
parent
6e5171d354
commit
4bee507502
1 changed files with 1 additions and 1 deletions
|
@ -325,7 +325,7 @@ int WINAPI WinMain (
|
||||||
hSoundThread = CreateThread (NULL, 0, (LPTHREAD_START_ROUTINE)
|
hSoundThread = CreateThread (NULL, 0, (LPTHREAD_START_ROUTINE)
|
||||||
sound_playback_thread, NULL, 0, &dwThreadID);
|
sound_playback_thread, NULL, 0, &dwThreadID);
|
||||||
|
|
||||||
if (hGUIThread == NULL)
|
if (hSoundThread == NULL)
|
||||||
MessageBox (NULL, "Error creating sound thread!", "Warning", MB_OK);
|
MessageBox (NULL, "Error creating sound thread!", "Warning", MB_OK);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue