From e4f21fece223af4a1185c0e07fc3f18d5edf3beb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Fri, 1 Aug 2003 15:38:36 +0000 Subject: [PATCH] fixed weird error git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22437 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/xml/xml.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);