From c2e9e74cc340f80c218c7b83bf933ebfa4054887 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 11 Feb 2019 21:49:09 +0100 Subject: [PATCH] scan_setup.cpp: fix possible compiler warning enum constant in boolean context Origin commit data ------------------ Commit: https://github.com/neutrino-images/ni-neutrino/commit/39d7048d544d5fcf4f1e14be09de0c2cf5631211 Author: Thilo Graf Date: 2019-02-11 (Mon, 11 Feb 2019) --- src/gui/scan_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 4966f433f..ed59ae9d9 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -1950,7 +1950,7 @@ printf("[neutrino] CScanSetup::%s: logical numbers %d\n", __FUNCTION__, scansett if (fe_config.force_mode == 1) fe_config.powered = 0; tsp->setActive(fe_config.force_mode != 1); - ret = menu_return::RETURN_EXIT_REPAINT; + ret = true; } return ret; }