From: Ian Jackson Date: Sat, 8 Jan 2011 21:29:48 +0000 (+0000) Subject: Revert "gui: keypress for position-unknown movfeat normalises rather than reverses" X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ijackson/git?a=commitdiff_plain;h=73713542e7abc79e5193707e757fb2be34d894a6;p=trains.git Revert "gui: keypress for position-unknown movfeat normalises rather than reverses" Actually, this change did the opposite of what was intended. This reverts commit a2e566e03eb861afc530369ae9cfc9e38a882771. --- diff --git a/hostside/gui b/hostside/gui index 1d0a976..50ad7ab 100755 --- a/hostside/gui +++ b/hostside/gui @@ -210,8 +210,8 @@ proc movpos-invoked {mid ctrlr} { global movfeatcommand movpos-button-gvars $mid switch -exact $posn { - 1 { set new_posn 0 } - default { set new_posn 1 } + 0 { set new_posn 1 } + default { set new_posn 0 } } scmd routinecmd $ctrlr "$movfeatcommand $seg $feat $new_posn" }