fixed aligment and added a newline after temp_path within launchApplyThemeTask func, and newline before
This commit is contained in:
parent
f7d1f7a834
commit
59f2e4d1ed
@ -53,14 +53,17 @@ void launchMenuBackTask() {
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
void launchApplyThemeTask(menuEntry_s* arg) {
|
||||
config_t cfg = {0};
|
||||
config_init(&cfg);
|
||||
|
||||
if(!config_read_file(&cfg, arg->path)) {
|
||||
menuCreateMsgBox(780, 300, "Something went wrong, and the theme could not be loaded!");
|
||||
return;
|
||||
}
|
||||
char tmp_path[PATH_MAX] = {0};
|
||||
|
||||
#ifdef __SWITCH__
|
||||
tmp_path[0] = '/';
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user