diff --git a/src/list.c b/src/list.c index 3ef8e75f8a2f7b1e015bd5fd886acd8a8c8215f1..e052c05e4a52fdb0e122fa83dbddc1d31e922488 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]); } }