use integer comparison for comparing pointers to zero to support "error" return value
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5526 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
8ef1921824
commit
ae2fc2aff7
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue