0022898: IGES import fails in german environment
[occt.git] / src / VrmlData / VrmlData_WorldInfo.cxx
index af8ea8b..74a7950 100755 (executable)
@@ -155,7 +155,7 @@ VrmlData_ErrorStatus VrmlData_WorldInfo::Write (const char * thePrefix) const
   {
     char buf[4096];
     if (myTitle) {
-      sprintf (buf, "title \"%s\"", myTitle);
+      Sprintf (buf, "title \"%s\"", myTitle);
       aStatus = aScene.WriteLine (buf);
     }
 
@@ -163,7 +163,7 @@ VrmlData_ErrorStatus VrmlData_WorldInfo::Write (const char * thePrefix) const
       if (OK (aStatus, aScene.WriteLine ("info [", 0L, GlobalIndent()))) {
         NCollection_List<const char *>::Iterator anIter (myInfo);
         while (anIter.More()) {
-          sprintf (buf, "\"%s\"", anIter.Value());
+          Sprintf (buf, "\"%s\"", anIter.Value());
           anIter.Next();
           if (anIter.More())
             aStatus = aScene.WriteLine (buf, ",");