From d1f65ffa653bbae85c109d3ccaed0c5e9a7df340 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 13 Sep 2005 13:45:39 +0000 Subject: [PATCH] fix for last commit git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/strconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index 77adbd4e06..e88ccba184 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -1365,7 +1365,7 @@ wxMBConv_iconv::wxMBConv_iconv(const wxChar *name) { // iconv operates with chars, not wxChars, but luckily it uses only ASCII // names for the charsets - const wxString cname = wxString::ToAscii(name); + const wxCharBuffer cname(wxString::ToAscii(name)); // check for charset that represents wchar_t: if (ms_wcCharsetName == NULL) -- 2.45.2