Mercurial > geeqie.yaz
diff src/exiv2.cc @ 485:2fef42c958bb
fixed reading of signed rational type with Exiv2
author | nadvornik |
---|---|
date | Tue, 22 Apr 2008 17:40:29 +0000 |
parents | 48c8e49b571c |
children | c7a2471e5c4e |
line wrap: on
line diff
--- a/src/exiv2.cc Tue Apr 22 09:57:26 2008 +0000 +++ b/src/exiv2.cc Tue Apr 22 17:40:29 2008 +0000 @@ -496,6 +496,7 @@ static ExifRational ret; ret.num = v.first; ret.den = v.second; + if (sign) *sign = (((Exiv2::Metadatum *)item)->typeId() == Exiv2::signedRational); return &ret; } catch (Exiv2::AnyError& e) {