summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2011-09-02 22:48:59 +0200
committerDaniel Friesel <derf@finalrewind.org>2011-09-02 22:48:59 +0200
commit3f38fadf49f910f74aa4d8eba8b106bbc8345de8 (patch)
treeb3f0cc5e12e0156cee3d73febc360a929f1696e1 /src
parentbeab99e9df03ada29af8bb50354b8bf9df4ef17e (diff)
list.c: printf %s\n -> puts
Diffstat (limited to 'src')
-rw-r--r--src/list.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/list.c b/src/list.c
index 3ef8e75..e052c05 100644
--- a/src/list.c
+++ b/src/list.c
@@ -85,14 +85,14 @@ void real_loadables_mode(int loadable)
if (feh_load_image(&im, file)) {
/* loaded ok */
if (loadable) {
- fprintf(stdout, "%s\n", file->filename);
+ puts(file->filename);
feh_action_run(file, opt.actions[0]);
}
gib_imlib_free_image_and_decache(im);
} else {
/* Oh dear. */
if (!loadable) {
- fprintf(stdout, "%s\n", file->filename);
+ puts(file->filename);
feh_action_run(file, opt.actions[0]);
}
}