diff options
Diffstat (limited to 'src/mir_app')
-rw-r--r-- | src/mir_app/src/miranda.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_app/src/miranda.cpp b/src/mir_app/src/miranda.cpp index 2557d9eac1..6c6452066c 100644 --- a/src/mir_app/src/miranda.cpp +++ b/src/mir_app/src/miranda.cpp @@ -181,7 +181,7 @@ void CWaitRestartDlg::OnInitDialog() m_timer.Start(MIRANDA_PROCESS_WAIT_RESOLUTION);
}
-void CWaitRestartDlg::Timer_OnEvent(CTimer *timer)
+void CWaitRestartDlg::Timer_OnEvent(CTimer*)
{
if (m_progress.Move() == MIRANDA_PROCESS_WAIT_STEPS)
EndModal(0);
@@ -203,7 +203,7 @@ INT_PTR CheckRestart() if (tszPID) {
HANDLE hProcess = OpenProcess(SYNCHRONIZE, FALSE, _wtol(tszPID));
if (hProcess) {
- INT_PTR result = dlg.DoModal();
+ INT_PTR result = CWaitRestartDlg(hProcess).DoModal();
CloseHandle(hProcess);
return result;
}
|