summaryrefslogtreecommitdiff
path: root/src/thumbnail.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-08-12 19:21:07 +0200
committerDaniel Friesel <derf@finalrewind.org>2012-08-12 19:21:07 +0200
commit503048c639e1017324e64313c7eb197b20201b40 (patch)
treeb4b0e0133de2b0bed76fb5b54ddb43ec63e6f6ac /src/thumbnail.c
parenta62c48c7bd46c4e193738c7d391c529c528ee4dc (diff)
Add %o, %r and %z format specifiers (see #95)
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r--src/thumbnail.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/thumbnail.c b/src/thumbnail.c
index f276592..b26dc7f 100644
--- a/src/thumbnail.c
+++ b/src/thumbnail.c
@@ -169,7 +169,7 @@ void init_thumbnail_mode(void)
if (!opt.title)
s = estrdup(PACKAGE " [thumbnail mode]");
else
- s = estrdup(feh_printf(opt.title, NULL));
+ s = estrdup(feh_printf(opt.title, NULL, NULL));
if (opt.display) {
winwid = winwidget_create_from_image(td.im_main, s, WIN_TYPE_THUMBNAIL);
@@ -717,7 +717,7 @@ void feh_thumbnail_show_fullsize(feh_file *thumbfile)
if (!opt.thumb_title)
s = thumbfile->name;
else
- s = feh_printf(opt.thumb_title, thumbfile);
+ s = feh_printf(opt.thumb_title, thumbfile, NULL);
thumbwin = winwidget_get_first_window_of_type(WIN_TYPE_THUMBNAIL_VIEWER);
if (!thumbwin) {