diff --git a/contrib/utils/convertrc/rc2xml.cpp b/contrib/utils/convertrc/rc2xml.cpp index 7cd81a8a68..9f4246b19a 100644 --- a/contrib/utils/convertrc/rc2xml.cpp +++ b/contrib/utils/convertrc/rc2xml.cpp @@ -796,8 +796,8 @@ void rc2xml::WriteLabel(wxString label) { label.Replace(_T("&"),_T("$")); // changes by MS, handle '<' '>' characters within a label. - label.Replace("<","<"); - label.Replace(">",">"); + label.Replace(_T("<"),_T("<")); + label.Replace(_T(">"),_T(">")); m_xmlfile.Write(_T("\t\t\t\n")); }