From: Lutz M. <lu...@us...> - 2005-04-27 20:41:15
|
Update of /cvsroot/libexif/libexif/libexif In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12421/libexif Modified Files: exif-entry.c Log Message: 2005-04-27 Lutz Mueller <lu...@us...> * libexif/exif-entry.c (exif_entry_fix): Some day, we'll get this right. Index: exif-entry.c =================================================================== RCS file: /cvsroot/libexif/libexif/libexif/exif-entry.c,v retrieving revision 1.85 retrieving revision 1.86 diff -u -p -d -r1.85 -r1.86 --- exif-entry.c 27 Apr 2005 05:47:23 -0000 1.85 +++ exif-entry.c 27 Apr 2005 20:40:54 -0000 1.86 @@ -289,7 +289,7 @@ exif_entry_fix (ExifEntry *e) * bytes for the format specifyer. */ for (i = 0; (i < e->size) && !e->data[i]; i++); - if (!i) for ( ; (i < e->size) && (e->data[i] = ' '); i++); + if (!i) for ( ; (i < e->size) && (e->data[i] == ' '); i++); if ((i >= 8) && (i < e->size)) { exif_entry_log (e, EXIF_LOG_CODE_DEBUG, "Tag 'UserComment' is not empty but does not start with " |