diff --git a/Modules/NSIS.template.in b/Modules/NSIS.template.in index 7adfe1481..9e8a6d94f 100644 --- a/Modules/NSIS.template.in +++ b/Modules/NSIS.template.in @@ -481,7 +481,7 @@ Loop: StrCmp "$R2" "$\r" RTrim StrCmp "$R2" ";" RTrim GoTo Done -RTrim: +RTrim: StrCpy $R1 "$R1" -1 Goto Loop Done: