From ece0a5c0b1783a57c20f9bddeeec137013f2b2a4 Mon Sep 17 00:00:00 2001 From: Andreas Huggel Date: Sun, 31 Jan 2010 13:29:15 +0000 Subject: [PATCH] Tweak. --- src/tiffimage_int.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tiffimage_int.hpp b/src/tiffimage_int.hpp index 680a1ddd..f3b3b6d3 100644 --- a/src/tiffimage_int.hpp +++ b/src/tiffimage_int.hpp @@ -153,8 +153,8 @@ namespace Exiv2 { //! Comparison operator to compare a TiffGroupStruct with a TiffGroupStruct::Key bool operator==(const Key& key) const { - return (Tag::all == extendedTag_ || key.e_ == extendedTag_) - && key.g_ == group_; + return key.g_ == group_ + && (Tag::all == extendedTag_ || key.e_ == extendedTag_); } //! Return the tag corresponding to the extended tag uint16_t tag() const { return static_cast(extendedTag_ & 0xffff); }