From 56b27dd05576b622426cf9acac0b5cb7f5995d2c Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Sat, 9 Sep 2023 20:47:48 -0400 Subject: [PATCH] Fix NXDN Ncurses Call TG:0 History Bug; --- src/dsd_ncurses.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/dsd_ncurses.c b/src/dsd_ncurses.c index 9d34e28..ecad13c 100644 --- a/src/dsd_ncurses.c +++ b/src/dsd_ncurses.c @@ -1870,7 +1870,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) { rn = state->nxdn_last_ran; } - if (state->nxdn_last_tg != 0 && state->nxdn_last_tg != tgn) + if (state->nxdn_last_tg != tgn) { tgn = state->nxdn_last_tg; } @@ -3541,7 +3541,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) else state->tg_hold = 0; } - if (c == 108) //'k' key, hold tg on slot 2 for trunking purposes, or toggle clear + if (c == 108) //'l' key, hold tg on slot 2 for trunking purposes, or toggle clear { if (state->tg_hold == 0) state->tg_hold = state->lasttgR;