:: commit b205ff9bd80c65975a138c45bb9540f7a86d6bd1

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

parents: 93f8d011ff

misc: Fix GRAPHICS config option recognition

diff --git a/common/menu.c b/common/menu.c
index c581e211..f4fe1f92 100644
--- a/common/menu.c
+++ b/common/menu.c
@@ -708,7 +708,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