Fixed segmentation fault when copying

This commit is contained in:
2022-10-11 16:21:37 -05:00
parent 1e3d7f46f0
commit 0ea910bf06
2 changed files with 5 additions and 0 deletions

Binary file not shown.

View File

@@ -678,6 +678,11 @@ int main(int argc,char** argv) {
fclose(tempFileCopy);
fclose(ptrFile);
// rewind(ptrFile);
addFiles(dir,(char **)fileList,0,mainY+5);
wclear(mainwin);
refresh();
wrefresh(mainwin);
break;
case ('v' & 0x1f):