i have no brain and i must rename

This commit is contained in:
Such Meme, Many Skill committed 2020-05-02 17:31:00 +02:00
1 parent b273b1e5ab
commit f9cf371cf9
6 files changed
+74 -11

No files matched your search

+9 -1
View File
@@ -171,9 +171,17 @@ int filemenu(menu_entry file){
break;
utils_copystring(fsutil_getnextloc(currentpath, file.name), &curPath);
f_rename(curPath, fsutil_getnextloc(currentpath, name));
temp = f_rename(curPath, fsutil_getnextloc(currentpath, name));
free(curPath);
free(name);
if (temp){
gfx_errDisplay("fileMenu", temp, 0);
break;
}
fsreader_readfolder(currentpath);
break;
case FILE_PAYLOAD: