Pārlūkot izejas kodu

windows: Removed (what I think is) a copy/paste error.

Ryan C. Gordon 8 gadi atpakaļ
vecāks
revīzija
248167af40
1 mainītis faili ar 0 papildinājumiem un 12 dzēšanām
  1. 0 12
      src/physfs_platform_windows.c

+ 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 */