diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | src/winwidget.c | 2 |
2 files changed, 7 insertions, 1 deletions
@@ -1,3 +1,9 @@ +Thu, 16 Feb 2017 23:05:39 +0100 Daniel Friesel <derf+feh@finalrewind.org> + +* Release v2.18.2 + * Fix crash when using both --thumbnails and --title. This bug was + introduced in v2.18.1. + Sun, 22 Jan 2017 19:11:32 +0100 Daniel Friesel <derf+feh@finalrewind.org> * Release v2.18.1 diff --git a/src/winwidget.c b/src/winwidget.c index e92f1c3..dae7bc9 100644 --- a/src/winwidget.c +++ b/src/winwidget.c @@ -634,7 +634,7 @@ void winwidget_render_image(winwidget winwid, int resize, int force_alias) feh_draw_info(winwid); if (winwid->errstr) feh_draw_errstr(winwid); - if (opt.title) { + if (opt.title && (current_file != NULL)) { /* title might contain e.g. the zoom specifier -> rewrite */ char *s = slideshow_create_name(FEH_FILE(current_file->data), winwid); winwidget_rename(winwid, s); |