diff --git a/source/tegraexplorer/gfx/menu.c b/source/tegraexplorer/gfx/menu.c index c10c300..a85e6df 100644 --- a/source/tegraexplorer/gfx/menu.c +++ b/source/tegraexplorer/gfx/menu.c @@ -73,7 +73,7 @@ int menu_make(menu_entry *entries, int amount, char *toptext){ if (calculatedamount){ SWAPCOLOR(COLOR_DEFAULT); SWAPBGCOLOR(COLOR_WHITE); - gfx_printf("%3d entries\n", amount); + gfx_printf("%3d entries\n", calculatedamount); RESETCOLOR; } else diff --git a/source/tegraexplorer/script/script.c b/source/tegraexplorer/script/script.c index 349be90..d0a505f 100644 --- a/source/tegraexplorer/script/script.c +++ b/source/tegraexplorer/script/script.c @@ -155,7 +155,7 @@ void functionparser(){ u32 argsize = 0; //gfx_printf("getting func %c\n", currentchar); - char *funcbuff = readtilchar('(', 0); + char *funcbuff = readtilchar('(', ' '); /*calloc(20, sizeof(char)); for (int i = 0; i < 19 && currentchar != '(' && currentchar != ' '; i++){ funcbuff[i] = currentchar;