From e989777f1212f74cf2c9324c82c898bbdd99d1fe Mon Sep 17 00:00:00 2001 From: kichik Date: Mon, 1 Dec 2008 22:35:48 +0000 Subject: [PATCH] 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 --- Include/WinVer.nsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Include/WinVer.nsh b/Include/WinVer.nsh index 7a78c67d..2faf445a 100644 --- a/Include/WinVer.nsh +++ b/Include/WinVer.nsh @@ -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