Merge pull request #204 from dimich-dmb/trunk

misc: Fix GRAPHICS config option recognition
This commit is contained in:
mint 2022-08-13 14:14:16 +02:00 committed by GitHub
commit bdcf562e2c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,7 +708,7 @@ static noreturn void _menu(bool timeout_enabled) {
#endif #endif
reterm: 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; size_t req_width = 0, req_height = 0, req_bpp = 0;
char *menu_resolution = config_get_value(NULL, 0, "INTERFACE_RESOLUTION"); char *menu_resolution = config_get_value(NULL, 0, "INTERFACE_RESOLUTION");