cvs: php4 /ext/exif exif.c

From: Date: Wed, 13 Mar 2002 00:22:01 +0000
Subject: cvs: php4 /ext/exif exif.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-10045@lists.php.net to get a copy of this message
helly Tue Mar 12 19:22:01 2002 EDT Modified files: /php4/ext/exif exif.c Log: -handling Index: php4/ext/exif/exif.c diff -u php4/ext/exif/exif.c:1.60 php4/ext/exif/exif.c:1.61 --- php4/ext/exif/exif.c:1.60 Tue Mar 12 11:43:29 2002 +++ php4/ext/exif/exif.c Tue Mar 12 19:21:51 2002 @@ -17,7 +17,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: exif.c,v 1.60 2002/03/12 16:43:29 helly Exp $ */ +/* $Id: exif.c,v 1.61 2002/03/13 00:21:51 helly Exp $ */ /* ToDos * @@ -99,7 +99,7 @@ }; /* }}} */ -#define EXIF_VERSION "1.3 $Id: exif.c,v 1.60 2002/03/12 16:43:29 helly Exp $" +#define EXIF_VERSION "1.3 $Id: exif.c,v 1.61 2002/03/13 00:21:51 helly Exp $" PHP_MINFO_FUNCTION(exif); @@ -3114,10 +3114,10 @@ /* try to evaluate if thumbnail data is present */ exif_scan_thumbnail( &ImageInfo); } - if ( ImageInfo.Thumbnail.width && ImageInfo.Thumbnail.height) { - exif_iif_add_int( &ImageInfo, SECTION_COMPUTED, "Thumbnail.Height", ImageInfo.Thumbnail.height); - exif_iif_add_int( &ImageInfo, SECTION_COMPUTED, "Thumbnail.Width", ImageInfo.Thumbnail.width); - } + } + if ( ImageInfo.Thumbnail.width && ImageInfo.Thumbnail.height) { + exif_iif_add_int( &ImageInfo, SECTION_COMPUTED, "Thumbnail.Height", ImageInfo.Thumbnail.height); + exif_iif_add_int( &ImageInfo, SECTION_COMPUTED, "Thumbnail.Width", ImageInfo.Thumbnail.width); } if ( sections_str) efree(sections_str);

« previous php.cvs (#10045) next »