0023844: It's odd to compare a bool type value with a value of 0.
[occt.git] / src / AIS / AIS_InteractiveObject.lxx
index c5d000f..07aa890 100755 (executable)
@@ -74,7 +74,7 @@ inline void AIS_InteractiveObject::Color(Quantity_Color& aColor) const
 }
 
 inline Standard_Boolean AIS_InteractiveObject::HasWidth() const 
-{return (!myOwnWidth == 0.);}
+{return !(myOwnWidth == 0.);}
 
 inline Standard_Real AIS_InteractiveObject::Width() const 
 {return myOwnWidth;}