From: apn Date: Thu, 12 Jul 2012 14:00:17 +0000 (+0400) Subject: 023263: Incorrect results displaying of QA command BUC60811 using "printf" X-Git-Tag: V6_5_4_beta1~140 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=c281a4a4a1b1a15569f51aacb7b0fdb88c0bcf91;p=occt-copy.git 023263: Incorrect results displaying of QA command BUC60811 using "printf" Modified command BUC60811 --- diff --git a/src/QABugs/QABugs_3.cxx b/src/QABugs/QABugs_3.cxx index 060903f068..7feba2d5f3 100644 --- a/src/QABugs/QABugs_3.cxx +++ b/src/QABugs/QABugs_3.cxx @@ -1237,11 +1237,13 @@ static Standard_Integer BUC60811(Draw_Interpretor& di, Standard_Integer argc, co Ex.Init(FP, TopAbs_VERTEX); TopoDS_Vertex v1 = TopoDS::Vertex(Ex.Current()); fillet.AddFillet(v1, 20); - printf("\nError is %d ", fillet.Status()); + di << "\n" << "Error is " << fillet.Status() << "\n"; +// printf("\nError is %d ", fillet.Status()); Ex.Next(); TopoDS_Vertex V2 = TopoDS::Vertex(Ex.Current()); fillet.AddFillet(V2, 20); - printf("\nError is %d ", fillet.Status()); + di << "\n" << "Error is " << fillet.Status() << "\n"; +// printf("\nError is %d ", fillet.Status()); fillet.Build(); FP1 = fillet.Shape(); ais2 = new AIS_Shape( FP1 );