diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:13 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-05-27 14:58:13 +0200 |
commit | 265d6934cd70a60228e7a11cfc000aff73dd4701 (patch) | |
tree | 610eb753fea70e7f407e751e22697fc8a1ec04bd /app/bin/cmodify.c | |
parent | bd8c21a35fd05fcbdaa95e4c0b7c94c3b97507b6 (diff) | |
parent | 359b557176b9bb2ff1aed2082641eed39c358d0d (diff) |
Update upstream source from tag 'upstream/5.1.2a'
Update to upstream version '5.1.2a'
with Debian dir 4d0d8239e41bb5de5dc968c2a5c6eb9c140bb2f3
Diffstat (limited to 'app/bin/cmodify.c')
-rw-r--r-- | app/bin/cmodify.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/bin/cmodify.c b/app/bin/cmodify.c index ded3421..11f4c06 100644 --- a/app/bin/cmodify.c +++ b/app/bin/cmodify.c @@ -59,7 +59,6 @@ static BOOL_T modifyCornuMode; static STATUS_T ModifyBezier(wAction_t action, coOrd pos) { STATUS_T rc = C_CONTINUE; if (Dex.Trk == NULL) return C_ERROR; //No track picked yet! - trackGauge = (IsTrack(Dex.Trk)?GetTrkGauge(Dex.Trk):0.0); switch (action&0xFF) { case C_START: case C_DOWN: @@ -67,6 +66,7 @@ static STATUS_T ModifyBezier(wAction_t action, coOrd pos) { case C_UP: case C_OK: case C_TEXT: + trackGauge = (IsTrack(Dex.Trk)?GetTrkGauge(Dex.Trk):0.0); rc = CmdBezModify(Dex.Trk, action, pos, trackGauge); break; case C_TERMINATE: @@ -88,7 +88,6 @@ static STATUS_T ModifyBezier(wAction_t action, coOrd pos) { static STATUS_T ModifyCornu(wAction_t action, coOrd pos) { STATUS_T rc = C_CONTINUE; if (Dex.Trk == NULL) return C_ERROR; //No track picked yet! - trackGauge = (IsTrack(Dex.Trk)?GetTrkGauge(Dex.Trk):0.0); switch (action&0xFF) { case C_START: case C_DOWN: @@ -96,6 +95,7 @@ static STATUS_T ModifyCornu(wAction_t action, coOrd pos) { case C_UP: case C_OK: case C_TEXT: + trackGauge = (IsTrack(Dex.Trk)?GetTrkGauge(Dex.Trk):0.0); rc = CmdCornuModify(Dex.Trk, action, pos, trackGauge); break; case C_TERMINATE: |