diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-02-16 23:10:20 +0100 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-02-16 23:10:20 +0100 |
commit | f27be5de2fde7e3a8be0d63e025c801ec7df5475 (patch) | |
tree | b37de4a08ffeab5b30a1ded445ca478171430398 /src | |
parent | 43cb0db3565837d8b4db3c343833ef753f6f2c0b (diff) |
I made a derp2.18.2
Diffstat (limited to 'src')
-rw-r--r-- | src/winwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |