Fix build error

This commit is contained in:
zilmar 2021-01-17 17:29:05 +10:30
parent 453efb6d5e
commit d1223d1cf0
1 changed files with 4 additions and 0 deletions

View File

@ -87,7 +87,9 @@ void CEnhancementUI::Display(HWND hParent, bool BlockExecution)
} }
if (BlockExecution) if (BlockExecution)
{ {
#ifdef _DEBUG
m_bModal = true; m_bModal = true;
#endif
DoModal(hParent); DoModal(hParent);
} }
else if (m_hWnd != NULL) else if (m_hWnd != NULL)
@ -96,7 +98,9 @@ void CEnhancementUI::Display(HWND hParent, bool BlockExecution)
} }
else else
{ {
#ifdef _DEBUG
m_bModal = false; m_bModal = false;
#endif
Create(hParent); Create(hParent);
} }
} }