diff options
Diffstat (limited to 'src/slideshow.c')
-rw-r--r-- | src/slideshow.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/slideshow.c b/src/slideshow.c index 87ab29e..b15c360 100644 --- a/src/slideshow.c +++ b/src/slideshow.c @@ -615,6 +615,8 @@ char *feh_printf(char *str, feh_file * file, winwidget winwid) if (winwid) { snprintf(buf, sizeof(buf), "%.2f", winwid->zoom); strncat(ret, buf, sizeof(ret) - strlen(ret) - 1); + } else { + strncat(ret, "1.00", sizeof(ret) - strlen(ret) - 1); } break; case '%': |