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/thumbnail.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src/thumbnail.c') diff --git a/src/thumbnail.c b/src/thumbnail.c index ca5c387..0e93447 100644 --- a/src/thumbnail.c +++ b/src/thumbnail.c @@ -376,7 +376,7 @@ void init_thumbnail_mode(void) winwidget_render_image(winwid, 0, 1); if (opt.verbose) - fprintf(stdout, "\n"); + putc('\n', stdout); if (opt.title_font) { int fw, fh, fx, fy; @@ -563,19 +563,19 @@ void feh_thumbnail_calculate_geometry(void) if (!opt.limit_w && !opt.limit_h) { if (td.im_bg) { 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 = td.bg_w; opt.limit_h = td.bg_h; } else { if (opt.verbose) - fprintf(stdout, - PACKAGE + fputs(PACKAGE " - No size restriction specified for index.\n" - " Using defaults (width limited to 640)\n"); + " Using defaults (width limited to 640)\n", + stdout); opt.limit_w = 640; } } -- cgit v1.2.3