From 0f111e647f3128b616ccce080fa8a4e79311d555 Mon Sep 17 00:00:00 2001 From: zoltanvb <101990835+zoltanvb@users.noreply.github.com> Date: Sun, 15 Oct 2023 14:47:26 +0200 Subject: [PATCH] Do not exclude browser and config directory settings if RGUI is disabled. (#15803) --- configuration.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configuration.c b/configuration.c index 43d6a145d0b..1bb55826bd6 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