modify m_encoding, not m_name, in wxCSConv::CreateConvIfNeeded() if we don't have...
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Mar 2007 21:12:20 +0000 (21:12 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 18 Mar 2007 21:12:20 +0000 (21:12 +0000)
commit02c7347b7fd198f4290b8e7350eaaaaf925595eb
tree4eb1240e4eb851a8bfa65815a0d38086a8a60849
parentd2ea08b9e1eed04a622febbf45fa15fda8231fe7
modify m_encoding, not m_name, in wxCSConv::CreateConvIfNeeded() if we don't have either (as is the case with wxConvLocal); this fixes an infinite recursion in wxMac after the latest changes as wxLocale::GetSystemEncodingName() there returned empty (and not NULL) string which resulted in call to wxFontMapperBase::CharsetToEncoding() and reentrancy into wxConvLocal

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/common/strconv.cpp