diff options
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -1,7 +1,7 @@ /* list.c Copyright (C) 1999-2003 Tom Gilbert. -Copyright (C) 2010-2011 Daniel Friesel. +Copyright (C) 2010-2024 Birte Kristina Friesel. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to @@ -50,11 +50,11 @@ void init_list_mode(void) file->info->height, format_size(file->info->pixels)); printf("\t%s\t%c\t%s\n", - format_size(file->info->size), + format_size(file->size), file->info->has_alpha ? 'X' : '-', file->filename); } - feh_action_run(file, opt.actions[0]); + feh_action_run(file, opt.actions[0], NULL); } exit(0); } @@ -92,7 +92,8 @@ void real_loadables_mode(int loadable) if (opt.verbose) feh_display_status('.'); puts(file->filename); - feh_action_run(file, opt.actions[0]); + fflush(stdout); + feh_action_run(file, opt.actions[0], NULL); } else { if (opt.verbose) @@ -106,7 +107,8 @@ void real_loadables_mode(int loadable) if (opt.verbose) feh_display_status('.'); puts(file->filename); - feh_action_run(file, opt.actions[0]); + fflush(stdout); + feh_action_run(file, opt.actions[0], NULL); } else { if (opt.verbose) |