From 412cb26c0f1f28f33b80ce982c9461eec7e285a9 Mon Sep 17 00:00:00 2001 From: lwvmobile Date: Sat, 1 Jul 2023 22:06:49 -0400 Subject: [PATCH] Fix Ncurses Exitflag; --- src/dsd_ncurses.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/dsd_ncurses.c b/src/dsd_ncurses.c index bcc821d..7f76e1a 100644 --- a/src/dsd_ncurses.c +++ b/src/dsd_ncurses.c @@ -1728,7 +1728,7 @@ void ncursesMenu (dsd_opts * opts, dsd_state * state) } if (choice == 20) { - cleanupAndExit (opts, state); + exitflag = 1; } if(choice != 0 && choice != 20) /* User did a choice come out of the infinite loop */ @@ -3409,7 +3409,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) if (c == 113) //'q' key, quit { - cleanupAndExit (opts, state); + exitflag = 1; } if (c == 52) // '4' key, toggle force privacy key over fid and svc (dmr) @@ -3579,7 +3579,7 @@ ncursesPrinter (dsd_opts * opts, dsd_state * state) opts->audio_in_type = 0; openPulseInput(opts); } - else opts->audio_in_type = 5;//cleanupAndExit(opts, state); + else opts->audio_in_type = 5; //exitflag = 1; } #endif