windows: Removed (what I think is) a copy/paste error.
This commit is contained in:
parent
be9bf023d0
commit
248167af40
|
@ -359,19 +359,7 @@ static DWORD WINAPI detectCDThread(LPVOID arg)
|
||||||
|
|
||||||
/* we've been asked to quit. */
|
/* we've been asked to quit. */
|
||||||
DestroyWindow(detectCDHwnd);
|
DestroyWindow(detectCDHwnd);
|
||||||
|
|
||||||
/* !!! FIXME: why is this here? Was this a copy/paste error? */
|
|
||||||
do
|
|
||||||
{
|
|
||||||
const BOOL rc = GetMessage(&msg, detectCDHwnd, 0, 0);
|
|
||||||
if ((rc == 0) || (rc == -1))
|
|
||||||
break;
|
|
||||||
TranslateMessage(&msg);
|
|
||||||
DispatchMessageW(&msg);
|
|
||||||
} while (1);
|
|
||||||
|
|
||||||
UnregisterClassA(classname, hInstance);
|
UnregisterClassA(classname, hInstance);
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
} /* detectCDThread */
|
} /* detectCDThread */
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue