0022935: Bug: BRepFill_Sweep.cxx line 572
authorAMA <>
Fri, 17 Feb 2012 12:00:05 +0000 (12:00 +0000)
committerbugmaster <bugmaster@opencascade.com>
Mon, 5 Mar 2012 15:32:47 +0000 (19:32 +0400)
src/BRepFill/BRepFill_Sweep.cxx

index 793f98c..3ffb863 100755 (executable)
@@ -568,11 +568,8 @@ static void BuildFace(const Handle(Geom_Surface)& S,
 
   WW = B.Wire();
 #if DRAW
-  if (Affich) {
-    char* name;
-    sprintf(name,"wire-on-face");
-    DBRep::Set(name, WW);
-  }
+  if (Affich)
+    DBRep::Set("wire-on-face", WW);
 #endif
   
 // Construction of the face.