X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..34952e03e27f4d9b0eb255752678c79b29575a18:/src/html/m_fonts.cpp diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index f9637a2d50..7fd9c8c06b 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -75,7 +75,9 @@ TAG_HANDLER_BEGIN(FONT, "FONT" ) { wxFontEnumerator enu; enu.EnumerateFacenames(); - m_Faces = *enu.GetFacenames(); + const wxArrayString *faces = enu.GetFacenames(); + if ( faces ) + m_Faces = *faces; } wxStringTokenizer tk(tag.GetParam(wxT("FACE")), wxT(",")); int index;