summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
authorreal <real@jane.(none)>2012-12-23 22:57:28 +0100
committerreal <real@jane.(none)>2012-12-23 22:57:28 +0100
commit9fc4db4c054d7a4d69a77df1cc0be4c827f93391 (patch)
treea6dffd137922e260a45f5b29b8500adc20def6e0 /src/thumbnail.c
parent586c49b3cc178c1b454749ba1bc76b5814f93737 (diff)
parent88979e43155a838b4298bfaa4b6e43813a75a54b (diff)
Merge branch 'master' of git://github.com/derf/feh
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c
index fbe2ce0..da14760 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -400,6 +400,16 @@ void init_thumbnail_mode(void)
if (!opt.display)
gib_imlib_free_image_and_decache(td.im_main);
+ else if (opt.start_list_at) {
+ for (l = thumbnails; l; l = l->next) {
+ if (!strcmp(opt.start_list_at, FEH_THUMB(l->data)->file->filename)) {
+ opt.start_list_at = NULL;
+ feh_thumbnail_select(winwid, FEH_THUMB(l->data));
+ break;
+ }
+ }
+ }
+
free(s);
return;