Merge pull request #135 from fel1x-developer/master
Fix Error in ServerCtrl
This commit is contained in:
commit
e6f0f7f23d
1 changed files with 1 additions and 1 deletions
|
@ -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 (;;)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue