Skip to content

Commit 8ebf10f

Browse files
Fix condition in Exif.NikonFl7.FlashCompensation
1 parent f23d965 commit 8ebf10f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/nikonmn_int.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2929,7 +2929,7 @@ fmountlens[] = {
29292929

29302930
if (temp == 0)
29312931
os << 0;
2932-
else if ( std::numeric_limits<float>::min() > temp && temp > std::numeric_limits<float>::max() )
2932+
else if ( std::numeric_limits<float>::min() > temp || temp > std::numeric_limits<float>::max() )
29332933
os << "(" << value << ")";
29342934
else if ( (int(temp)/temp) > 0.999 )
29352935
os << int(temp);

0 commit comments

Comments
 (0)