projects
/
wxWidgets.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
d2ea08b
)
modify m_encoding, not m_name, in wxCSConv::CreateConvIfNeeded() if we don't have...
author
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 18 Mar 2007 21:12:20 +0000
(21:12 +0000)
committer
Vadim Zeitlin
<vadim@wxwidgets.org>
Sun, 18 Mar 2007 21:12:20 +0000
(21:12 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44900
c3d73ce0
-8a6f-49c7-b76d-
6d57e0e08775
src/common/strconv.cpp
patch
|
blob
|
blame
|
history
diff --git
a/src/common/strconv.cpp
b/src/common/strconv.cpp
index 352e229b50d8f8b0f8eff192f10304ea771ab13e..9d093143fe7f60cade95290da2010884826be7fc 100644
(file)
--- a/
src/common/strconv.cpp
+++ b/
src/common/strconv.cpp
@@
-3505,7
+3505,7
@@
void wxCSConv::CreateConvIfNeeded() const
if ( !m_name && m_encoding == wxFONTENCODING_SYSTEM )
{
#if wxUSE_INTL
- self->m_
name = wxStrdup(wxLocale::GetSystemEncodingName()
);
+ self->m_
encoding = wxLocale::GetSystemEncoding(
);
#else
// fallback to some reasonable default:
self->m_encoding = wxFONTENCODING_ISO8859_1;