summaryrefslogtreecommitdiff
path: root/src/list.c
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-02-26 22:34:28 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-02-26 22:34:28 +0100
commit3ceed32cd8f56cd4c970b31ed03c15549bcb396d (patch)
tree57542d7d6a0434facc5a4d8e7b75c9e85a7f7eb4 /src/list.c
parentb257e011c4390900f14491e2cffe38b2d00892ec (diff)
parentf24e46871c9eb41f2b43e91b18164c3d232255f8 (diff)
Merge branch 'master' of aneurysm:var/git_root/feh
Diffstat (limited to 'src/list.c')
-rw-r--r--src/list.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/list.c b/src/list.c
index 3cb9a3d..17fcbcc 100644
--- a/src/list.c
+++ b/src/list.c
@@ -44,14 +44,15 @@ void init_list_mode(void)
file = FEH_FILE(l->data);
if (opt.customlist)
printf("%s\n", feh_printf(opt.customlist, file));
- else
+ else {
printf("%d\t%s\t%d\t%d\t%s", ++j,
file->info->format, file->info->width,
file->info->height,
format_size(file->info->pixels));
- printf("\t%s\t\t%c\t%s\n",
+ printf("\t%s\t%c\t%s\n",
format_size(file->info->size),
file->info->has_alpha ? 'X' : '-', file->filename);
+ }
feh_action_run(file, opt.actions[0]);
}