From: Lutz M?l. <lu...@us...> - 2003-12-09 19:50:04
|
Update of /cvsroot/libexif/libexif/libexif/olympus In directory sc8-pr-cvs1:/tmp/cvs-serv4838/libexif/olympus Modified Files: mnote-olympus-entry.c Log Message: 2003-12-09 Lutz Mueller <lu...@us...> A couple of fixes by Jan Patera <pa...@pi...>: * libexif Index: mnote-olympus-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/olympus/mnote-olympus-entry.c,v retrieving revision 1.4 retrieving revision 1.5 diff -u -d -r1.4 -r1.5 --- mnote-olympus-entry.c 1 Dec 2003 18:27:50 -0000 1.4 +++ mnote-olympus-entry.c 9 Dec 2003 19:50:00 -0000 1.5 @@ -66,6 +66,9 @@ return (NULL); memset (v, 0, sizeof (v)); + + if ((!entry->data) && (entry->components > 0)) return (strdup(v)); + switch (entry->tag) { case MNOTE_OLYMPUS_TAG_MODE: CF (entry->format, EXIF_FORMAT_LONG, v); |