Update dsd_ncurses.c

We get the GPS from SRC, and in "D XTRA" shown was TG not SRC.
This commit is contained in:
Michael 2024-08-17 18:37:06 +02:00 committed by GitHub
parent f6fc91a051
commit 29a39b7196
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 2 additions and 2 deletions

View File

@ -3411,7 +3411,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
{
for (int k = 0; k < state->group_tally; k++)
{
if (state->group_array[k].groupNumber == state->lasttg)
if (state->group_array[k].groupNumber == state->lastsrc)
{
attron(COLOR_PAIR(4));
printw (" [%s]", state->group_array[k].groupName);
@ -3605,7 +3605,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state)
{
for (int k = 0; k < state->group_tally; k++)
{
if (state->group_array[k].groupNumber == state->lasttgR)
if (state->group_array[k].groupNumber == state->lastsrcR)
{
attron(COLOR_PAIR(4));
printw (" [%s]", state->group_array[k].groupName);