diff --git a/Contrib/Modern UI 2/Pages/Finish.nsh b/Contrib/Modern UI 2/Pages/Finish.nsh index 2e4e4a82..4d6d7031 100644 --- a/Contrib/Modern UI 2/Pages/Finish.nsh +++ b/Contrib/Modern UI 2/Pages/Finish.nsh @@ -275,7 +275,7 @@ Finish page (implemented using nsDialogs) !ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH System::Call '*(i, i, i, i) i.s' Pop $mui.FinishPage.Image.Rect - ${If} $mui.FinishPage.Image.Rect != 0 + ${If} $mui.FinishPage.Image.Rect <> 0 System::Call 'user32::GetClientRect(i $mui.FinishPage.Image, i $mui.FinishPage.Image.Rect)' System::Call '*$mui.FinishPage.Image.Rect(i, i, i .s, i .s)' System::Free $mui.FinishPage.Image.Rect diff --git a/Contrib/Modern UI 2/Pages/Welcome.nsh b/Contrib/Modern UI 2/Pages/Welcome.nsh index 1f87bacc..eabe6521 100644 --- a/Contrib/Modern UI 2/Pages/Welcome.nsh +++ b/Contrib/Modern UI 2/Pages/Welcome.nsh @@ -137,7 +137,7 @@ Welcome page (implemented using nsDialogs) !ifndef MUI_${MUI_PAGE_UNINSTALLER_PREFIX}WELCOMEFINISHPAGE_BITMAP_NOSTRETCH System::Call '*(i, i, i, i) i.s' Pop $mui.WelcomePage.Image.Rect - ${If} $mui.WelcomePage.Image.Rect != 0 + ${If} $mui.WelcomePage.Image.Rect <> 0 System::Call 'user32::GetClientRect(i $mui.WelcomePage.Image, i $mui.WelcomePage.Image.Rect)' System::Call '*$mui.WelcomePage.Image.Rect(i, i, i .s, i .s)' System::Free $mui.WelcomePage.Image.Rect