diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/collage.c | 10 | ||||
-rw-r--r-- | src/keyevents.c | 4 |
2 files changed, 7 insertions, 7 deletions
diff --git a/src/collage.c b/src/collage.c index 3377e84..fee6ed9 100644 --- a/src/collage.c +++ b/src/collage.c @@ -113,12 +113,12 @@ init_collage_mode(void) } /* Create the title string */ - + if (!opt.title) - s = estrdup(PACKAGE " [collage mode]"); + s = estrdup(PACKAGE " [collage mode]"); else - s = estrdup(feh_printf(opt.title, NULL)); - + s = estrdup(feh_printf(opt.title, NULL)); + if (opt.display) { winwid = @@ -217,7 +217,7 @@ init_collage_mode(void) char output_buf[1024]; if (opt.output_dir) snprintf(output_buf,1024,"%s/%s", opt.output_dir, opt.output_file); - else + else strncpy(output_buf,opt.output_file, 1024); gib_imlib_save_image(im_main, output_buf); if (opt.verbose) diff --git a/src/keyevents.c b/src/keyevents.c index af7e173..577860f 100644 --- a/src/keyevents.c +++ b/src/keyevents.c @@ -346,7 +346,7 @@ feh_event_handle_keypress(XEvent * ev) case 'C': if (opt.caption_path) winwid->caption_entry = 1; - winwidget_render_image(winwid, 0, 0); + winwidget_render_image(winwid, 0, 0); break; case 'r': case 'R': @@ -423,7 +423,7 @@ feh_event_handle_keypress(XEvent * ev) xinerama_screens[curr_screen].y_org); } #endif /* HAVE_LIBXINERAMA */ - case '=': + case '=': case '+': if (opt.reload < SLIDESHOW_RELOAD_MAX) opt.reload++; |