get just one char for windows 9x "service pack"

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5810 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-12-01 22:35:48 +00:00
parent 4c30821aa5
commit e989777f12

View file

@ -237,8 +237,8 @@
# get szCSDVersion
Pop $0
# skip first char
StrCpy $0 $0 "" 1
# copy second char
StrCpy $0 $0 1 1
# discard invalid wServicePackMajor and wProductType
Pop $R0