From: Dan F. <dfa...@us...> - 2009-11-21 23:47:24
|
Update of /cvsroot/libexif/exif/exif In directory ddv4jf1.ch3.sourceforge.com:/tmp/cvs-serv9184/exif Modified Files: actions.c Log Message: Increased the description width for the --list-tags command Index: actions.c =================================================================== RCS file: /cvsroot/libexif/exif/exif/actions.c,v retrieving revision 1.49 retrieving revision 1.50 diff -u -p -d -r1.49 -r1.50 --- actions.c 21 Nov 2009 01:28:05 -0000 1.49 +++ actions.c 21 Nov 2009 23:47:15 -0000 1.50 @@ -371,7 +371,7 @@ action_tag_table (ExifData *ed, ExifPara #define ENTRY_NOT_FOUND " - " snprintf (txt, sizeof (txt) - 1, _("EXIF tags in '%s':"), p.fin); - fieldwidth = width = p.width - 42; + fieldwidth = width = p.width - 36; bytes = exif_mbstrlen(txt, &width); printf ("%.*s%*s", bytes, txt, fieldwidth-width, ""); @@ -396,9 +396,9 @@ action_tag_table (ExifData *ed, ExifPara if (!name) continue; - fieldwidth = width = p.width - 38 - 13; + fieldwidth = width = p.width - 43; bytes = exif_mbstrlen(C(name), &width); - printf (" 0x%04x %.*s%*s", + printf ("0x%04x %.*s%*s", tag, bytes, C(name), fieldwidth-width, ""); for (i = (ExifIfd)0; i < EXIF_IFD_COUNT; i++) if (exif_content_get_entry (ed->ifd[i], tag)) |