:: commit d3bc577a527d0fe7be7506731b97954ad100f1d0

Dmytro Bagrii <dimich.dmb@gmail.com> — 2022-08-13 01:30

parents: 68a2b833ab

misc: Fix GRAPHICS config option recognition

diff --git a/common/menu.c b/common/menu.c
index c01c691d..105c00d0 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -711,7 +711,7 @@ static noreturn void _menu(bool timeout_enabled) {
 #endif
 
 reterm:
-    if (graphics == NULL || strcmp(graphics, "no") == 1) {
+    if (graphics == NULL || strcmp(graphics, "no") != 0) {
         size_t req_width = 0, req_height = 0, req_bpp = 0;
 
         char *menu_resolution = config_get_value(NULL, 0, "INTERFACE_RESOLUTION");
tab: 248 wrap: offon