]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Make sure dialog close is always processed
authorToni Wilen <twilen@winuae.net>
Thu, 2 Oct 2025 15:07:34 +0000 (18:07 +0300)
committerToni Wilen <twilen@winuae.net>
Thu, 2 Oct 2025 15:07:34 +0000 (18:07 +0300)
od-win32/hardfile_win32.cpp

index 0cde5d71b7e3fa8a7556fc25c7ee29fcbe1aa6f6..9c43bdf2a0502ba53c7199da9d8db954425813ce 100644 (file)
@@ -508,6 +508,9 @@ static INT_PTR CALLBACK ProgressDialogProc (HWND hDlg, UINT msg, WPARAM wParam,
        switch(msg)
        {
        case WM_DESTROY:
+               if (cdstate.active) {
+                       CustomDialogClose(hDlg, 0);
+               }
                PostQuitMessage(0);
                return TRUE;
        case WM_CLOSE: