summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2012-02-26 21:09:12 +0100
committerDaniel Friesel <derf@finalrewind.org>2012-02-26 21:09:12 +0100
commitca05961c959b30506f56405fb1dbbcbe500e2f72 (patch)
tree26c3aedea7e47daba21a4d81177f97ad82ea05a8 /src
parent54deb9b8e21354a1670c179a7d8bd09e4e391026 (diff)
Update test files, fix omitted {} in list.c
Diffstat (limited to 'src')
-rw-r--r--src/list.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/list.c b/src/list.c
index 3317da7..17fcbcc 100644
--- a/src/list.c
+++ b/src/list.c
@@ -44,7 +44,7 @@ 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,
@@ -52,6 +52,7 @@ void init_list_mode(void)
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]);
}