diff options
author | Dennis Real <github@tildepipe.org> | 2012-02-26 19:08:22 +0100 |
---|---|---|
committer | Dennis Real <github@tildepipe.org> | 2012-02-26 19:08:22 +0100 |
commit | fc651e5eb5a7cce4f2df97eb8aee3d9ad34f9717 (patch) | |
tree | d920a9d3c789dc9856871fdc24e73990426075dd /src/list.c | |
parent | 458c5cfd464c84048c7e9027f6ef803d261742e3 (diff) | |
parent | 54deb9b8e21354a1670c179a7d8bd09e4e391026 (diff) |
Merge remote branch 'upstream/master'
Conflicts:
src/exif.c
Diffstat (limited to 'src/list.c')
-rw-r--r-- | src/list.c | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -37,7 +37,7 @@ void init_list_mode(void) mode = "list"; if (!opt.customlist) - fputs("NUM\tFORMAT\tWIDTH\tHEIGHT\tPIXELS\tSIZE(bytes)\tALPHA\tFILENAME\n", + fputs("NUM\tFORMAT\tWIDTH\tHEIGHT\tPIXELS\tSIZE\tALPHA\tFILENAME\n", stdout); for (l = filelist; l; l = l->next) { @@ -45,10 +45,12 @@ void init_list_mode(void) if (opt.customlist) printf("%s\n", feh_printf(opt.customlist, file)); else - printf("%d\t%s\t%d\t%d\t%d\t%d\t\t%c\t%s\n", ++j, + printf("%d\t%s\t%d\t%d\t%s", ++j, file->info->format, file->info->width, - file->info->height, file->info->pixels, - file->info->size, + file->info->height, + format_size(file->info->pixels)); + 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]); |