diff options
-rw-r--r-- | src/mir_core/src/CDlgBase.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_core/src/CDlgBase.cpp b/src/mir_core/src/CDlgBase.cpp index 71af58e913..73d2fced0a 100644 --- a/src/mir_core/src/CDlgBase.cpp +++ b/src/mir_core/src/CDlgBase.cpp @@ -352,7 +352,7 @@ INT_PTR CDlgBase::DlgProc(UINT msg, WPARAM wParam, LPARAM lParam) if (OnClose()) { m_bExiting = true; if (m_isModal) - EndModal(m_bSucceeded ? IDOK : IDCANCEL); + EndModal(m_bSucceeded ? IDOK : FALSE); else DestroyWindow(m_hwnd); } |