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:
NightlyFox 2018-09-23 13:40:50 -05:00
parent 350fbda633
commit a9921cbfba
2 changed files with 2 additions and 2 deletions

View File

@ -65,7 +65,7 @@ void launchApplyThemeTask(menuEntry_s* arg){
tmp_path[0] = '/';
#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)){
menuCreateMsgBox(780, 300, "Something went wrong, and the theme could not be applied!");
return;

View File

@ -57,7 +57,7 @@ void themeStartup(ThemePreset preset) {
tmp_path[0] = '/';
#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;
config_t cfg = {0};