chiark
/
gitweb
/
~ijackson
/
trains.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
gui: keypress for position-unknown movfeat normalises rather than reverses
[trains.git]
/
hostside
/
gui
diff --git
a/hostside/gui
b/hostside/gui
index 50ad7ab25b4e464f4902a36e8404b49f87b3afb7..1d0a97671d445507b6fddb1c787e864afb792ce2 100755
(executable)
--- a/
hostside/gui
+++ b/
hostside/gui
@@
-210,8
+210,8
@@
proc movpos-invoked {mid ctrlr} {
global movfeatcommand
movpos-button-gvars $mid
switch -exact $posn {
-
0 { set new_posn 1
}
- default { set new_posn
0
}
+
1 { set new_posn 0
}
+ default { set new_posn
1
}
}
scmd routinecmd $ctrlr "$movfeatcommand $seg $feat $new_posn"
}