Skip to content

Commit

Permalink
Merge pull request #135 from fel1x-developer/master
Browse files Browse the repository at this point in the history
Fix Error in ServerCtrl
  • Loading branch information
SamVanheer committed Mar 15, 2022
2 parents 348e4bc + b743464 commit e6f0f7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/serverctrl/ServerCtrlDlg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ int CServerCtrlDlg::RunModalLoop(DWORD dwFlags)
BOOL bShowIdle = (dwFlags & MLF_SHOWONIDLE) && !(GetStyle() & WS_VISIBLE);
HWND hWndParent = ::GetParent(m_hWnd);
m_nFlags |= (WF_MODALLOOP|WF_CONTINUEMODAL);
MSG* pMsg = &AfxGetThread()->m_msgCur;
MSG* pMsg = AfxGetCurrentMessage();

// acquire and dispatch messages until the modal state is done
for (;;)
Expand Down

0 comments on commit e6f0f7f

Please sign in to comment.