X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f631bab9f88f3b53541561ea3b1f03b94b3130b3..e4f21fece223af4a1185c0e07fc3f18d5edf3beb:/src/xml/xml.cpp diff --git a/src/xml/xml.cpp b/src/xml/xml.cpp index 3b59fcf271..ed0b3c0b07 100644 --- a/src/xml/xml.cpp +++ b/src/xml/xml.cpp @@ -356,7 +356,7 @@ inline static wxString CharToString(wxMBConv *conv, if ( conv ) { size_t nLen = (len != wxSTRING_MAXLEN) ? len : - nLen = wxConvUTF8.MB2WC((wchar_t*) NULL, s, 0); + wxConvUTF8.MB2WC((wchar_t*) NULL, s, 0); wchar_t *buf = new wchar_t[nLen+1]; wxConvUTF8.MB2WC(buf, s, nLen);