diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-04-30 19:49:44 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-04-30 19:49:44 +0200 |
commit | 753fc6efd6488d16d83f9cc20b45958d9b208420 (patch) | |
tree | 3afc60b81b7eb8723f34f15d0670eb5095527bbb /src/thumbnail.c | |
parent | 8b5e364dda15d2efbca18705c305dac6e177d4b1 (diff) |
Replace some printf calls by fputs/putc
Diffstat (limited to 'src/thumbnail.c')
-rw-r--r-- | src/thumbnail.c | 14 |
1 files changed, 7 insertions, 7 deletions
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; } } |