Compare commits
2
Commits
d681f11bef
...
5021f61c80
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
5021f61c80
|
||
|
|
0ee52bc2ea
|
@@ -1,8 +1,6 @@
|
||||
# TODO:
|
||||
|
||||
## Current:
|
||||
- [ ] Integration of double-linked file list in file_list (files from server)
|
||||
- [ ] Check search option
|
||||
|
||||
## Future:
|
||||
- [ ] File catalogs (or tags)
|
||||
|
||||
@@ -144,6 +144,8 @@ int dlist_clear_list(dlist_t *dlist, dblist_rm_cb_t cb) {
|
||||
dlist_node_t *current = dlist->start;
|
||||
dlist_node_t *next = NULL;
|
||||
|
||||
if (current == NULL) return 1;
|
||||
|
||||
do {
|
||||
cb(current->el_ptr);
|
||||
next = current->next;
|
||||
|
||||
@@ -45,7 +45,7 @@ static void w_fl_cb(w_cb_args_t *args) {
|
||||
}
|
||||
server_send_string(app->query_args, "%s %d %d\n", q_prefix,
|
||||
fui->max_lines, 1);
|
||||
w_fl_reset(fui);
|
||||
fl_clear(fui->f_list);
|
||||
} else {
|
||||
bconchar(fui->search_key, key);
|
||||
w_fl_draw(fui);
|
||||
|
||||
Reference in New Issue
Block a user