From 653d05f40c811104b33c9fc275531148d27f04ba Mon Sep 17 00:00:00 2001 From: zoltanvb Date: Sun, 15 Oct 2023 10:55:22 +0200 Subject: [PATCH] Do not exclude browser and config directory settings if RGUI is disabled. --- configuration.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.c b/configuration.c index 43d6a145d0b4..1bb55826bd62 100644 --- a/configuration.c +++ b/configuration.c @@ -1619,9 +1619,10 @@ static struct config_path_setting *populate_settings_path( SETTING_PATH("menu_wallpaper", settings->paths.path_menu_wallpaper, false, NULL, true); #ifdef HAVE_RGUI SETTING_PATH("rgui_menu_theme_preset", settings->paths.path_rgui_theme_preset, false, NULL, true); +#endif + /* Browser and config directories are not RGUI dependent, but name is kept to avoid config file change */ SETTING_PATH("rgui_browser_directory", settings->paths.directory_menu_content, true, NULL, true); SETTING_PATH("rgui_config_directory", settings->paths.directory_menu_config, true, NULL, true); -#endif #ifdef HAVE_XMB SETTING_PATH("xmb_font", settings->paths.path_menu_xmb_font, false, NULL, true); #endif