fix marking files actually update dir files list

This commit is contained in:
Night Kaly 2024-03-14 19:57:03 +00:00
parent cf5cc41034
commit 53b56e40a8
No known key found for this signature in database
GPG key ID: 8E829D3381CFEBBE

2
file.c
View file

@ -109,7 +109,7 @@ long add_marked(char *filepath, char *type)
new_file->type = buf2;
new_file->next = NULL;
if (current == NULL) {
files = new_file;
marked = new_file;
return 0;
}
long index = 1;