changed settings.cfg name back to theme.cfg name, but left it in the same folder, makes more sense for the applied theme to live in a seperate folder
This commit is contained in:
parent
350fbda633
commit
a9921cbfba
@ -65,7 +65,7 @@ void launchApplyThemeTask(menuEntry_s* arg){
|
|||||||
tmp_path[0] = '/';
|
tmp_path[0] = '/';
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
strncat(tmp_path, "config/nx-hbmenu/settings.cfg", sizeof(tmp_path)-2);
|
strncat(tmp_path, "config/nx-hbmenu/theme.cfg", sizeof(tmp_path)-2);
|
||||||
if(!config_write_file(&cfg, tmp_path)){
|
if(!config_write_file(&cfg, tmp_path)){
|
||||||
menuCreateMsgBox(780, 300, "Something went wrong, and the theme could not be applied!");
|
menuCreateMsgBox(780, 300, "Something went wrong, and the theme could not be applied!");
|
||||||
return;
|
return;
|
||||||
|
@ -57,7 +57,7 @@ void themeStartup(ThemePreset preset) {
|
|||||||
tmp_path[0] = '/';
|
tmp_path[0] = '/';
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
strncat(tmp_path, "config/nx-hbmenu/settings.cfg", sizeof(tmp_path)-2);
|
strncat(tmp_path, "config/nx-hbmenu/theme.cfg", sizeof(tmp_path)-2);
|
||||||
|
|
||||||
theme_t *themeDefault;
|
theme_t *themeDefault;
|
||||||
config_t cfg = {0};
|
config_t cfg = {0};
|
||||||
|
Loading…
Reference in New Issue
Block a user