remove some code duplication

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5796 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-11-29 12:23:59 +00:00
parent ffdb62d0c6
commit 96327d2335

View file

@ -17,6 +17,8 @@
#
# Function PrintSysVersion
#
# System::Alloc $1
# Pop $0
# System::Call *$0(ir1)
# System::Call kernel32::GetVersionEx(ir0)i.R0
#
@ -41,34 +43,26 @@
#
# DetailPrint $R3
#
# System::Free $0
#
# FunctionEnd
#
# Section
#
# System::Alloc 156
# Pop $0
#
# DetailPrint "# OSVERSIONINFOEX"
#
# StrCpy $2 "$$OSVERSIONINFOEX"
# StrCpy $1 156
# StrCpy $2 "$$OSVERSIONINFOEX"
# Call PrintSysVersion
#
# System::Free $0
#
# DetailPrint ""
#
# System::Alloc 156
# Pop $0
#
# DetailPrint "# OSVERSIONINFO"
#
# StrCpy $2 "$$OSVERSIONINFO"
# StrCpy $1 148
# StrCpy $2 "$$OSVERSIONINFO"
# Call PrintSysVersion
#
# System::Free $0
#
# SectionEnd
#
#