From: Sebastian Schuberth Date: Sat, 12 Jan 2013 13:41:08 +0000 (+0100) Subject: Installer: Do not use Inc() for compatibility with ANSI Inno Setup X-Git-Url: https://repo.or.cz/w/msysgit.git/commitdiff_plain/c70b60144f3baaabaffe26b65cd5c5c7da7e22e5 Installer: Do not use Inc() for compatibility with ANSI Inno Setup See https://github.com/jrsoftware/issrc/issues/35#issuecomment-12177896. Signed-off-by: Sebastian Schuberth --- diff --git a/share/WinGit/helpers.inc.iss b/share/WinGit/helpers.inc.iss index a02a7ca4..17cdd03b 100644 --- a/share/WinGit/helpers.inc.iss +++ b/share/WinGit/helpers.inc.iss @@ -11,7 +11,7 @@ begin i:=0; while (i#0) do begin Result[i+1]:=Chars[i]; - Inc(i); + i:=i+1; end; SetLength(Result,i); @@ -28,7 +28,7 @@ begin i:=0; while i