From 8ebf10f921dc8b09c594969ae583232d16f14171 Mon Sep 17 00:00:00 2001 From: postscript-dev Date: Sun, 17 Oct 2021 16:20:27 +0100 Subject: [PATCH] Fix condition in Exif.NikonFl7.FlashCompensation --- src/nikonmn_int.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/nikonmn_int.cpp b/src/nikonmn_int.cpp index 2753b190..c886b474 100644 --- a/src/nikonmn_int.cpp +++ b/src/nikonmn_int.cpp @@ -2929,7 +2929,7 @@ fmountlens[] = { if (temp == 0) os << 0; - else if ( std::numeric_limits::min() > temp && temp > std::numeric_limits::max() ) + else if ( std::numeric_limits::min() > temp || temp > std::numeric_limits::max() ) os << "(" << value << ")"; else if ( (int(temp)/temp) > 0.999 ) os << int(temp);