summaryrefslogtreecommitdiff
path: root/src/filelist.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-08-11 20:30:06 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-08-11 20:34:58 +0200
commit64e9c952f0bbd5c23fd775620f3df1c261799ed6 (patch)
tree9bbd40e8ed8af7f17664269f59ce10c27a1215bd /src/filelist.c
parent03e54647e9ffd21a47cd608f662b5e2cb9a0f7c5 (diff)
Show correct file number after deleting image
In the image_remove function, slideshow_change_image needs to be called before removing the image from the filelist. Because of this, the "x of y" displayed by --draw-filename is wrong (y is 1 too high). This commit introduces a new 'render' argument to slideshow_chingae_image. The image_remove function calls it with render=0, edits the filelist and then runs by winwidget_render_image itself. Patch by Yu-Jie Lin.
Diffstat (limited to 'src/filelist.c')
0 files changed, 0 insertions, 0 deletions