Fix the if/else. Thanks Konstanting for spotting that
authormturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Jun 2009 16:58:48 +0000 (16:58 +0000)
committermturk <mturk@13f79535-47bb-0310-9956-ffa450edef68>
Tue, 23 Jun 2009 16:58:48 +0000 (16:58 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@787751 13f79535-47bb-0310-9956-ffa450edef68

res/tomcat.nsi

index 76f691b..c97b20a 100644 (file)
@@ -376,7 +376,7 @@ Function FindCpuType
   ; Default CPU is always x86
   StrCpy $1 "x86"
   ExpandEnvStrings $0 "%PROCESSOR_ARCHITEW6432%"
-  StrCmp $0 "%PROCESSOR_ARCHITEW6432%" 0 +5
+  StrCmp $0 "%PROCESSOR_ARCHITEW6432%" +5 0
   StrCmp $0 "IA64" 0 +3
   StrCpy $1 "i64"
   Goto FoundCpu