Fixed saving of the fullscreen icons setting into the config file.
This commit is contained in:
@@ -139,7 +139,7 @@ load_general(void)
|
|||||||
rctrl_is_lalt = ini_section_get_int(cat, "rctrl_is_lalt", 0);
|
rctrl_is_lalt = ini_section_get_int(cat, "rctrl_is_lalt", 0);
|
||||||
update_icons = ini_section_get_int(cat, "update_icons", 1);
|
update_icons = ini_section_get_int(cat, "update_icons", 1);
|
||||||
|
|
||||||
status_icons_fullscreen = !!config_get_int(cat, "status_icons_fullscreen", 0);
|
status_icons_fullscreen = !!ini_section_get_int(cat, "status_icons_fullscreen", 0);
|
||||||
|
|
||||||
window_remember = ini_section_get_int(cat, "window_remember", 0);
|
window_remember = ini_section_get_int(cat, "window_remember", 0);
|
||||||
|
|
||||||
@@ -1785,9 +1785,9 @@ save_general(void)
|
|||||||
ini_section_delete_var(cat, "open_dir_usr_path");
|
ini_section_delete_var(cat, "open_dir_usr_path");
|
||||||
|
|
||||||
if (status_icons_fullscreen)
|
if (status_icons_fullscreen)
|
||||||
config_set_int(cat, "status_icons_fullscreen", status_icons_fullscreen);
|
ini_section_set_int(cat, "status_icons_fullscreen", status_icons_fullscreen);
|
||||||
else
|
else
|
||||||
config_delete_var(cat, "status_icons_fullscreen");
|
ini_section_delete_var(cat, "status_icons_fullscreen");
|
||||||
|
|
||||||
if (video_framerate != -1)
|
if (video_framerate != -1)
|
||||||
ini_section_set_int(cat, "video_gl_framerate", video_framerate);
|
ini_section_set_int(cat, "video_gl_framerate", video_framerate);
|
||||||
|
Reference in New Issue
Block a user