Skip to content

Commit

Permalink
Increase size limit for path in boot setup.
Browse files Browse the repository at this point in the history
Fixes #28
  • Loading branch information
d0k3 committed Nov 26, 2018
1 parent c81ca41 commit 92579d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/arm11/menu/menu.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,14 +73,14 @@ void menuBuildDescString(char* desc, u32 flags, u32 index, const char* desc_raw)
else if (slot < N_BOOTSLOTS)
{
// get strings for path and keycombo
char slot_path_store[24+1];
char slot_path_store[40+1];
char* slot_path = NULL;
char* keycombo = NULL;

if(configDataExist(KBootOption1 + slot))
{
slot_path = slot_path_store;
truncateString(slot_path, (char*) configGetData(KBootOption1 + slot), 24, 8);
truncateString(slot_path, (char*) configGetData(KBootOption1 + slot), 40, 8);
}

if(configDataExist(KBootOption1Buttons + slot))
Expand Down

0 comments on commit 92579d6

Please sign in to comment.