From: Dan F. <dfa...@us...> - 2009-10-17 19:00:56
|
Update of /cvsroot/libexif/exif/exif In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv26323/exif Modified Files: actions.c Log Message: Fixed alignment of --list-tags header with --width Index: actions.c =================================================================== RCS file: /cvsroot/libexif/exif/exif/actions.c,v retrieving revision 1.46 retrieving revision 1.47 diff -u -p -d -r1.46 -r1.47 --- actions.c 13 Oct 2009 03:11:33 -0000 1.46 +++ actions.c 17 Oct 2009 19:00:44 -0000 1.47 @@ -372,7 +372,7 @@ action_tag_table (ExifData *ed, ExifPara #define ENTRY_NOT_FOUND " - " snprintf (txt, sizeof (txt) - 1, _("EXIF tags in '%s':"), p.fin); - fieldwidth = width = 38; + fieldwidth = width = p.width - 42; bytes = exif_mbstrlen(txt, &width); printf ("%.*s%*s", bytes, txt, fieldwidth-width, ""); |