git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23732
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// check for the special case of ASCII charset
if ( (!name && encoding == wxFONTENCODING_DEFAULT)
#if wxUSE_FONTMAP
// check for the special case of ASCII charset
if ( (!name && encoding == wxFONTENCODING_DEFAULT)
#if wxUSE_FONTMAP
- || wxFontMapper::Get()->
- CharsetToEncoding(name) == wxFONTENCODING_DEFAULT
+ || (name && wxFontMapper::Get()->
+ CharsetToEncoding(name) == wxFONTENCODING_DEFAULT)
#endif // wxUSE_FONTMAP
)
{
#endif // wxUSE_FONTMAP
)
{