107 (idx == LICENSE_NonCA) ? "Not redistributable : see NonCAreadme.txt" : |
107 (idx == LICENSE_NonCA) ? "Not redistributable : see NonCAreadme.txt" : |
108 null; |
108 null; |
109 |
109 |
110 objs.push_back (new LDComment (dlg.qLE_Name->text ())); |
110 objs.push_back (new LDComment (dlg.qLE_Name->text ())); |
111 objs.push_back (new LDComment ("Name: <untitled>.dat")); |
111 objs.push_back (new LDComment ("Name: <untitled>.dat")); |
112 objs.push_back (new LDComment (str::mkfmt ("Author: %s", zAuthor.chars()))); |
112 objs.push_back (new LDComment (format ("Author: %s", zAuthor.chars()))); |
113 objs.push_back (new LDComment (str::mkfmt ("!LDRAW_ORG Unofficial_Part"))); |
113 objs.push_back (new LDComment (format ("!LDRAW_ORG Unofficial_Part"))); |
114 |
114 |
115 if (sLicense != null) |
115 if (sLicense != null) |
116 objs.push_back (new LDComment (str::mkfmt ("!LICENSE %s", sLicense))); |
116 objs.push_back (new LDComment (format ("!LICENSE %s", sLicense))); |
117 |
117 |
118 objs.push_back (new LDEmpty); |
118 objs.push_back (new LDEmpty); |
119 objs.push_back (new LDBFC (eBFCType)); |
119 objs.push_back (new LDBFC (eBFCType)); |
120 objs.push_back (new LDEmpty); |
120 objs.push_back (new LDEmpty); |
121 |
121 |