0023305: One index value verified twice in BRepFill_TrimShellCorner.cxx
[occt.git] / src / BRepFill / BRepFill_TrimShellCorner.cxx
index 331ac6e..6ae40d8 100755 (executable)
@@ -361,7 +361,7 @@ void BRepFill_TrimShellCorner::Perform()
     Standard_Integer anIndex1 = aDS.ShapeIndex(aF1, 1);
     Standard_Integer anIndex2 = aDS.ShapeIndex(aF2, 2);
 
-    if((anIndex1 == 0) || (anIndex1 == 0))
+    if((anIndex1 == 0) || (anIndex2 == 0))
       continue;
     Standard_Integer i = 0;