Blob Blame History Raw
--- libs/libkexiv2/libkexiv2/kexiv2exif.cpp	2010/08/10 19:02:01	1161753
+++ libs/libkexiv2/libkexiv2/kexiv2exif.cpp	2010/08/10 19:03:53	1161754
@@ -775,7 +775,7 @@
                 Exiv2::ExifData::iterator it = exifData.findKey(key1);
                 if (it == exifData.end())
                     it = exifData.findKey(key2);
-                if (it != exifData.end())
+                if (it != exifData.end() && it->count())
                 {
                     long orientation = it->toLong();
                     kDebug(51003) << "Exif Thumbnail Orientation: " << (int)orientation << endl;