fixed spaces

This commit is contained in:
NightlyFox 2018-09-23 18:59:41 -05:00
parent 2a2128c80e
commit 3abb799c61
2 changed files with 9 additions and 10 deletions

View File

@ -309,7 +309,7 @@ bool menuEntryLoad(menuEntry_s* me, const char* name, bool shortcut) {
strncpy(me->name, name, sizeof(me->name)-1);
if(!config_setting_lookup_string(themeInfo, "author", &author))
author = textGetString(StrId_DefaultPublisher);
if(!config_setting_lookup_string(themeInfo, "version", &version))\
if(!config_setting_lookup_string(themeInfo, "version", &version))
version = "1.0.0";
}
}

View File

@ -14,8 +14,7 @@ char *menuGetRootPath() {
return rootPath;
}
void launchMenuEntryTask(menuEntry_s* arg)
{
void launchMenuEntryTask(menuEntry_s* arg) {
menuEntry_s* me = arg;
if (me->type == ENTRY_TYPE_FOLDER)
menuScan(me->path);
@ -40,12 +39,12 @@ void launchMenuNetloaderTask() {
if(netloader_activate() == 0) hbmenu_state = HBMENU_NETLOADER_ACTIVE;
}
void launchMenuBackTask()
{
void launchMenuBackTask() {
if(hbmenu_state == HBMENU_NETLOADER_ACTIVE) {
netloader_deactivate();
hbmenu_state = HBMENU_DEFAULT;
}else if(hbmenu_state == HBMENU_THEME_MENU){
}
else if(hbmenu_state == HBMENU_THEME_MENU) {
hbmenu_state = HBMENU_DEFAULT;
menuScan(rootPath);
}