diff options
author | Daniel Friesel <derf@finalrewind.org> | 2014-08-27 19:46:13 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2014-08-27 19:46:13 +0200 |
commit | d3c0aa11daf16c03be51e8fcb113d32320ef531c (patch) | |
tree | 817696db27535ceb859f3bffdf085878b6baad17 /src/collage.c | |
parent | 3e284a9ac8959360278389cd537509a24f83c120 (diff) | |
parent | a15831215a8f8076a35fcb0781a1cb0289b216b7 (diff) |
Merge branch 'verbose-to-stderr' of https://github.com/nbirnel/feh into nbirnel-verbose-to-stderr
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 711e3a4..bcb30fa 100644 --- a/src/collage.c +++ b/src/collage.c @@ -69,7 +69,7 @@ void init_collage_mode(void) ": No size restriction specified for collage.\n" " You did specify a background however, so the\n" " collage size has defaulted to the size of the image\n", - stdout); + stderr); opt.limit_w = bg_w; opt.limit_h = bg_h; } else { @@ -78,7 +78,7 @@ void init_collage_mode(void) ": No size restriction specified for collage.\n" " - For collage mode, you need to specify width and height.\n" " Using defaults (width 800, height 600)\n", - stdout); + stderr); opt.limit_w = 800; opt.limit_h = 600; } @@ -185,7 +185,7 @@ void init_collage_mode(void) } } if (opt.verbose) - fputs("\n", stdout); + fputs("\n", stderr); if (opt.output && opt.output_file) { char output_buf[1024]; @@ -199,8 +199,8 @@ void init_collage_mode(void) tw = gib_imlib_image_get_width(im_main); th = gib_imlib_image_get_height(im_main); - fprintf(stdout, PACKAGE ": File saved as %s\n", output_buf); - fprintf(stdout, + fprintf(stderr, PACKAGE ": File saved as %s\n", output_buf); + fprintf(stderr, " - Image is %dx%d pixels and contains %d thumbnails\n", tw, th, (tw / opt.thumb_w) * (th / opt.thumb_h)); } |