diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-06-01 17:08:47 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2020-06-01 17:08:47 +0200 |
commit | d0b6a8a4ec298024f14f704f9e40a6f9d324ccf3 (patch) | |
tree | 8645f5abd7b89361a1c5ab67e0195c84bc2ceab0 /app/bin/cmodify.c | |
parent | c2b8ba9336499ac930802e957f0d150399f3191e (diff) | |
parent | abf57604846230dc26afe8011aefb8e7bcc34333 (diff) |
Merge debian/watchdebian/1_5.1.2a-1
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: |