fix (?) for error in wxCSConv::LoadNow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
dee9ba58f5
commit
a45a98fbb9
@ -776,7 +776,8 @@ void wxCSConv::LoadNow()
|
|||||||
SetName(name);
|
SetName(name);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_cset = wxGetCharacterSet(m_name);
|
// wxGetCharacterSet() complains about NULL name
|
||||||
|
m_cset = m_name ? wxGetCharacterSet(m_name) : NULL;
|
||||||
m_deferred = FALSE;
|
m_deferred = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user