diff options
author | Christian Hesse <mail@eworm.de> | 2023-10-10 12:49:10 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2023-10-16 11:51:04 +0200 |
commit | bb899b1fb0b20d481fafc7d67193ab003c33a652 (patch) | |
tree | 98aceacf27e9eac318b9e1c7bb1638ff69f483c7 | |
parent | 080b3cbf9d8ff6cde9aeb08650ead5c3eeb9e7b7 (diff) |
global-functions: $ParseJson: drop superfluous substraction
-rw-r--r-- | global-functions.rsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/global-functions.rsc b/global-functions.rsc index 80f1f78..12d510b 100644 --- a/global-functions.rsc +++ b/global-functions.rsc @@ -703,7 +703,7 @@ :local Return ({}); :local Skip 0; - :for I from=0 to=([ :len $Input ] - 1) do={ + :for I from=0 to=[ :len $Input ] do={ :if ($Skip > 0 || $Input->$I = "\n" || $Input->$I = "\r\n") do={ :if ($Skip > 0) do={ :set $Skip ($Skip - 1); |