From 753fc6efd6488d16d83f9cc20b45958d9b208420 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Sat, 30 Apr 2011 19:49:44 +0200 Subject: Replace some printf calls by fputs/putc --- src/index.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/index.c') diff --git a/src/index.c b/src/index.c index 2829bad..4b4c77f 100644 --- a/src/index.c +++ b/src/index.c @@ -113,19 +113,19 @@ void init_index_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 index.\n" " You did specify a background however, so the\n" - " index size has defaulted to the size of the image\n"); + " index 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 index.\n" - " Using defaults (width limited to 800)\n"); + " Using defaults (width limited to 800)\n", + stdout); opt.limit_w = 800; } } @@ -458,7 +458,7 @@ void init_index_mode(void) } } if (opt.verbose) - fprintf(stdout, "\n"); + putc('\n', stdout); if (opt.title_font) { int fw, fh, fx, fy; -- cgit v1.2.3