From: AMA <> Date: Fri, 17 Feb 2012 12:00:05 +0000 (+0000) Subject: 0022935: Bug: BRepFill_Sweep.cxx line 572 X-Git-Tag: V6_5_3_beta1~87 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c0695321c3934d2e4ac762aa389ba1652577763d;p=occt-copy.git 0022935: Bug: BRepFill_Sweep.cxx line 572 --- diff --git a/src/BRepFill/BRepFill_Sweep.cxx b/src/BRepFill/BRepFill_Sweep.cxx index 793f98cd3f..3ffb8630e7 100755 --- a/src/BRepFill/BRepFill_Sweep.cxx +++ b/src/BRepFill/BRepFill_Sweep.cxx @@ -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.