From 503048c639e1017324e64313c7eb197b20201b40 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sun, 12 Aug 2012 19:21:07 +0200 Subject: Add %o, %r and %z format specifiers (see #95) --- src/thumbnail.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/thumbnail.c') 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) { -- cgit v1.2.3