Skip to content
Permalink
Browse files
windows: Removed (what I think is) a copy/paste error.
  • Loading branch information
icculus committed Aug 5, 2017
1 parent be9bf02 commit 248167af407df0c8ff6117aff1e0faa9a0702f74
Showing with 0 additions and 12 deletions.
  1. +0 −12 src/physfs_platform_windows.c
@@ -359,19 +359,7 @@ static DWORD WINAPI detectCDThread(LPVOID arg)

/* we've been asked to quit. */
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);

return 0;
} /* detectCDThread */

0 comments on commit 248167a

Please sign in to comment.