diff options
Diffstat (limited to 'src/collage.c')
-rw-r--r-- | src/collage.c | 10 |
1 files changed, 5 insertions, 5 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) |