From fd31dcd35bacaf6559b640c65b53c9bccd6c61f5 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 3 Oct 2016 07:51:47 +0000 Subject: compilation fix git-svn-id: http://svn.miranda-ng.org/main/trunk@17345 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/mir_app/src/miranda.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mir_app') 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; } -- cgit v1.2.3