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);