- m_xmlfile.Write(">\n");
- m_xmlfile.Write("\t\t\t\t<label>"
- + FixMenuString(res->GetTitle()) + "</label>\n");
- if (res->GetValue4() != "")
- m_xmlfile.Write("\t\t\t\t<help>" + res->GetValue4() +
- "</help>\n");
- m_xmlfile.Write("\t\t\t<children>\n");
+ m_xmlfile.Write(_T(">\n"));
+ m_xmlfile.Write(_T("\t\t\t\t<label>")
+ + FixMenuString(res->GetTitle()) + _T("</label>\n"));
+ if (!res->GetValue4().empty())
+ m_xmlfile.Write(_T("\t\t\t\t<help>") + res->GetValue4() +
+ _T("</help>\n"));