fix marking files actually update dir files list
This commit is contained in:
parent
cf5cc41034
commit
53b56e40a8
1 changed files with 1 additions and 1 deletions
2
file.c
2
file.c
|
@ -109,7 +109,7 @@ long add_marked(char *filepath, char *type)
|
||||||
new_file->type = buf2;
|
new_file->type = buf2;
|
||||||
new_file->next = NULL;
|
new_file->next = NULL;
|
||||||
if (current == NULL) {
|
if (current == NULL) {
|
||||||
files = new_file;
|
marked = new_file;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
long index = 1;
|
long index = 1;
|
||||||
|
|
Loading…
Reference in a new issue