diff options
Diffstat (limited to 'lib.c')
-rw-r--r-- | lib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2064,7 +2064,7 @@ static val lazy_sub_str(val lstr, val from, val to) to = t; } else { if (lt(to, zero)) { - to = plus(from, len = length_str(lstr)); + to = plus(to, len = length_str(lstr)); to = max(zero, to); } |