From de103989849575a04a9aef671c9188e742c718fb Mon Sep 17 00:00:00 2001 From: kichik Date: Thu, 5 Dec 2002 23:07:53 +0000 Subject: [PATCH] Locking that actually works... git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@1900 212acab6-be3b-0410-9dea-997c60f758d6 --- Source/exehead/Ui.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/exehead/Ui.c b/Source/exehead/Ui.c index 585f1809..cb685346 100644 --- a/Source/exehead/Ui.c +++ b/Source/exehead/Ui.c @@ -530,7 +530,7 @@ nextPage: #ifdef NSIS_SUPPORT_CODECALLBACKS // lock display for custom pages to prevent flickering // the custom page must unlock the display - if (this_page->id<0 && uMsg != WM_INITDIALOG) LockWindowUpdate(hwndDlg); + if (this_page->id<0 && uMsg != WM_INITDIALOG) LockWindowUpdate(m_curwnd); else LockWindowUpdate(0); #endif