summaryrefslogtreecommitdiff
path: root/src/collage.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-04-30 19:49:44 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-04-30 19:49:44 +0200
commit753fc6efd6488d16d83f9cc20b45958d9b208420 (patch)
tree3afc60b81b7eb8723f34f15d0670eb5095527bbb /src/collage.c
parent8b5e364dda15d2efbca18705c305dac6e177d4b1 (diff)
Replace some printf calls by fputs/putc
Diffstat (limited to 'src/collage.c')
-rw-r--r--src/collage.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/collage.c b/src/collage.c
index 1f2fac4..4ea88a9 100644
--- a/src/collage.c
+++ b/src/collage.c
@@ -62,20 +62,20 @@ void init_collage_mode(void)
if (!opt.limit_w || !opt.limit_h) {
if (bg_im) {
if (opt.verbose)
- fprintf(stdout,
- PACKAGE
+ fputs(PACKAGE
" - 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");
+ " collage size has defaulted to the size of the image\n",
+ stdout);
opt.limit_w = bg_w;
opt.limit_h = bg_h;
} else {
if (opt.verbose)
- fprintf(stdout,
- PACKAGE
+ fputs(PACKAGE
" - 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");
+ " Using defaults (width 800, height 600)\n",
+ stdout);
opt.limit_w = 800;
opt.limit_h = 600;
}
@@ -182,7 +182,7 @@ void init_collage_mode(void)
}
}
if (opt.verbose)
- fprintf(stdout, "\n");
+ fputs("\n", stdout);
if (opt.output && opt.output_file) {
char output_buf[1024];