aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/pointer.nim3
1 files changed, 2 insertions, 1 deletions
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()