]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xml/xml.cpp
fixed weird error
[wxWidgets.git] / src / xml / xml.cpp
index 3b59fcf271b3dafa81fad6a563e327ff0a942717..ed0b3c0b0731ca1710c044755461b52c5b76d434 100644 (file)
@@ -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);