diff options
author | Andreas Rumpf <andreas@andreas-desktop> | 2010-02-02 19:21:08 +0100 |
---|---|---|
committer | Andreas Rumpf <andreas@andreas-desktop> | 2010-02-02 19:21:08 +0100 |
commit | c7bd3f94cd6377f2a64ce67b59a4a31118bdabbb (patch) | |
tree | 27003261584e678be93a123f99fd19de8241e160 /lib | |
parent | 6ecbed72840bd080623299ed6b6d3ef8a2e0033d (diff) | |
download | Nim-c7bd3f94cd6377f2a64ce67b59a4a31118bdabbb.tar.gz |
BUGFIX: system.insert
Diffstat (limited to 'lib')
-rwxr-xr-x | lib/system.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/system.nim b/lib/system.nim index 13d0b4746..79c014a7c 100755 --- a/lib/system.nim +++ b/lib/system.nim @@ -719,7 +719,7 @@ proc insert*[T](x: var seq[T], item: T, i = 0) {.noSideEffect.} = var j = xl-1 while j >= i: x[j+1] = x[j] - inc(j) + dec(j) x[i] = item |