Mercurial > geeqie
changeset 485:2fef42c958bb
fixed reading of signed rational type with Exiv2
author | nadvornik |
---|---|
date | Tue, 22 Apr 2008 17:40:29 +0000 |
parents | 35991929975d |
children | c5144a2f38be |
files | src/exiv2.cc |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
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) {