saw a potential bug, where i was changing the size of something a while back to try and remove the file extension, forgot to remove it. Removed....
This commit is contained in:
parent
afe968f458
commit
93ee023d10
@ -184,7 +184,7 @@ int themeMenuScan(const char* target) {
|
||||
if (!me)
|
||||
continue;
|
||||
|
||||
strncpy(me->path, tmp_path, sizeof(me->path)-5);//-(1 + 4 for the file extension size)
|
||||
strncpy(me->path, tmp_path, sizeof(me->path)-1);
|
||||
me->path[sizeof(me->path)-1] = 0;
|
||||
if (menuEntryLoad(me,(const char*)name, shortcut))
|
||||
menuAddEntry(me);
|
||||
|
Loading…
Reference in New Issue
Block a user