From aa6040b239a54a4fe69ba0d2e142b2ffa8bda9f4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 25 Feb 2017 06:59:46 -0500 Subject: [PATCH] Make m m .1 work again. --- sst.py | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/sst.py b/sst.py index c36f137..7c7d075 100755 --- a/sst.py +++ b/sst.py @@ -4011,15 +4011,16 @@ def getcourse(isprobe): iprompt = True key = scanner.nexttok() itemp = "verbose" - if key != "IHREAL": + if key == "IHREAL": + delta.j = scanner.real + else: huh() raise TrekError - delta.j = scanner.real key = scanner.nexttok() - if key != "IHREAL": - huh() - raise TrekError - delta.i = scanner.real + if key == "IHREAL": + delta.i = scanner.real + else: + delta.i = 0 # Check for zero movement if delta.i == 0 and delta.j == 0: scanner.chew() -- 2.31.1