misc: Fix GRAPHICS config option recognition

This commit is contained in:
Dmytro Bagrii 2022-08-13 04:30:58 +03:00
parent 93f8d011ff
commit b205ff9bd8

View File

@ -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");