summaryrefslogtreecommitdiff
path: root/src/mir_app
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-10-03 07:51:47 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-10-03 07:51:47 +0000
commitfd31dcd35bacaf6559b640c65b53c9bccd6c61f5 (patch)
tree6a71f46e4221701a4f8f7f0e1e22c5ade109027d /src/mir_app
parentcb76807ead33fa0efdf5420e881259fd86045586 (diff)
compilation fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@17345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src/mir_app')
-rw-r--r--src/mir_app/src/miranda.cpp4
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;
}