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/index.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index b489c55..023cba0 100644 --- a/src/index.c +++ b/src/index.c @@ -167,7 +167,7 @@ void init_index_mode(void) if (!opt.title) s = estrdup(PACKAGE " [index 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(im_main, s, WIN_TYPE_SINGLE); @@ -465,7 +465,7 @@ void get_index_string_dim(feh_file *file, Imlib_Font fn, int *fw, int *fh) char *create_index_string(feh_file * file) { - return feh_printf(opt.index_info, file); + return feh_printf(opt.index_info, file, NULL); } char *create_index_title_string(int num, int w, int h) -- cgit v1.2.3