min update

Signed-off-by: Damien Zhao <zdm65477730@126.com>
This commit is contained in:
Damien Zhao
2023-04-02 16:37:24 +08:00
parent c9b22b2a36
commit a093a1fbba
7 changed files with 28 additions and 10 deletions

View File

@@ -74,6 +74,7 @@ void FileExplorer(char *path){
res = 0;
res = newMenu(&entries, res, 60, 42, ENABLEB | ENABLEPAGECOUNT, (int)fileVec.count);
vecFree(entries);
char *oldPath = storedPath;
@@ -125,6 +126,7 @@ void FileExplorer(char *path){
else if (res < ARR_LEN(topEntries)) {
if (!strcmp(storedPath, path)){
clearFileVector(&fileVec);
free(storedPath);
return;
}