From e431feb6cb4e0e553a2825a0caaf7a1cdc52c939 Mon Sep 17 00:00:00 2001 From: Julien Dessaux Date: Tue, 9 Aug 2022 22:52:09 +0200 Subject: Fixed bug in the handling of end command failure --- src/pointer.nim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/pointer.nim b/src/pointer.nim index 95032dd..bf2c743 100644 --- a/src/pointer.nim +++ b/src/pointer.nim @@ -178,7 +178,8 @@ proc Eval(p: var Pointer, f: var Field, c: int): (bool, ref int) = var v: tuple[x, y: int] if p.ss[].End(v): p.Reverse() - p.sox = v.x; p.soy = v.y + else: + p.sox = v.x; p.soy = v.y of int('u'): if p.ss[].Under(): p.Reverse() -- cgit v1.2.3