zz_newPartDialog.cpp

changeset 116
4fde8fdf258a
parent 114
fe1bfc5f59ed
child 135
c243df39913e
--- a/zz_newPartDialog.cpp	Tue Apr 16 20:32:42 2013 +0300
+++ b/zz_newPartDialog.cpp	Wed Apr 17 14:09:38 2013 +0300
@@ -109,11 +109,11 @@
 		
 		objs.push_back (new LDComment (dlg.qLE_Name->text ()));
 		objs.push_back (new LDComment ("Name: <untitled>.dat"));
-		objs.push_back (new LDComment (str::mkfmt ("Author: %s", zAuthor.chars())));
-		objs.push_back (new LDComment (str::mkfmt ("!LDRAW_ORG Unofficial_Part")));
+		objs.push_back (new LDComment (format ("Author: %s", zAuthor.chars())));
+		objs.push_back (new LDComment (format ("!LDRAW_ORG Unofficial_Part")));
 		
 		if (sLicense != null)
-			objs.push_back (new LDComment (str::mkfmt ("!LICENSE %s", sLicense)));
+			objs.push_back (new LDComment (format ("!LICENSE %s", sLicense)));
 		
 		objs.push_back (new LDEmpty);
 		objs.push_back (new LDBFC (eBFCType));

mercurial