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