mirror of
https://github.com/limine-bootloader/limine
synced 2024-12-12 09:44:04 +03:00
menu: Fix broken comparison that would always override user set menu resolution
This commit is contained in:
parent
bfc613bcbb
commit
4c5ff180d7
@ -346,7 +346,7 @@ bool gterm_init(int *_rows, int *_cols, uint32_t *_colours, int _margin, int _ma
|
||||
int req_width = 0, req_height = 0, req_bpp = 0;
|
||||
|
||||
char *menu_resolution = config_get_value(NULL, 0, "MENU_RESOLUTION");
|
||||
if (menu_resolution == NULL)
|
||||
if (menu_resolution != NULL)
|
||||
parse_resolution(&req_width, &req_height, &req_bpp, menu_resolution);
|
||||
|
||||
// We force bpp to 32
|
||||
|
Loading…
Reference in New Issue
Block a user