summaryrefslogtreecommitdiff
path: root/src/filelist.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filelist.c')
-rw-r--r--src/filelist.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/filelist.c b/src/filelist.c
index da17f15..2eb43af 100644
--- a/src/filelist.c
+++ b/src/filelist.c
@@ -113,6 +113,8 @@ gib_list *feh_file_remove_from_list(gib_list * list, gib_list * l)
{
D_ENTER(4);
feh_file_free(FEH_FILE(l->data));
+ D(4, ("filelist_len %d -> %d\n", filelist_len, filelist_len - 1));
+ filelist_len--;
D_RETURN(4, gib_list_remove(list, l));
}