use System's r1 instead of $1
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5704 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
0ab9548200
commit
274cdd5ac9
1 changed files with 2 additions and 2 deletions
|
@ -173,7 +173,7 @@
|
|||
; ($1)->dwOSVersionInfoSize = sizeof(OSVERSIONINFOEXA)
|
||||
System::Call /NOUNLOAD '*$1(&i4 156)'
|
||||
; GetVersionEx($1)
|
||||
System::Call /NOUNLOAD 'kernel32::GetVersionEx(i $1) i.r0'
|
||||
System::Call /NOUNLOAD 'kernel32::GetVersionEx(i r1) i.r0'
|
||||
${If} $0 <> 0
|
||||
; $2 = ($1)->wServicePackMajor
|
||||
System::Call /NOUNLOAD '*$1(&t148, &i2.r2)'
|
||||
|
@ -181,7 +181,7 @@
|
|||
; ($1)->dwOSVersionInfoSize = sizeof(OSVERSIONINFOA)
|
||||
System::Call /NOUNLOAD '*$1(&i4 148)'
|
||||
; GetVersionEx($1)
|
||||
System::Call /NOUNLOAD 'kernel32::GetVersionEx(i $1) i.r0'
|
||||
System::Call /NOUNLOAD 'kernel32::GetVersionEx(i r1) i.r0'
|
||||
${If} $0 <> 0
|
||||
; $2 = ($1)->szCSDVersion
|
||||
System::Call /NOUNLOAD '*$1(&t20, &t128.r2)'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue