fix release logic

This commit is contained in:
tildearrow 2022-02-09 16:02:29 -05:00
parent 788ccfb334
commit ae44cabba8

View file

@ -9,7 +9,7 @@
had=has; \ had=has; \
if (has) { \ if (has) { \
val=source[pos++]; \ val=source[pos++]; \
if (pos==sourceRel && !released) { \ if (sourceRel>=0 && pos>sourceRel && !released) { \
pos--; \ pos--; \
} \ } \
if (pos>=sourceLen) { \ if (pos>=sourceLen) { \