Apply 2points' patch to FC font file lister crash problem
Originally committed to SVN as r1580.
This commit is contained in:
parent
acc2d3753f
commit
b0d73ac84c
2 changed files with 10 additions and 0 deletions
|
@ -76,6 +76,14 @@ wxArrayString FontConfigFontFileLister::DoGetFilesWithFace(wxString facename) {
|
|||
}
|
||||
|
||||
|
||||
///////////////
|
||||
// Constructor
|
||||
FontConfigFontFileLister::FontConfigFontFileLister()
|
||||
: fontconf(0), aux(0)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
//////////////
|
||||
// Initialize
|
||||
void FontConfigFontFileLister::DoInitialize() {
|
||||
|
|
|
@ -51,6 +51,8 @@ class FontConfigFontFileLister : public FontFileLister {
|
|||
private:
|
||||
FcConfig *fontconf;
|
||||
FcPattern *aux;
|
||||
|
||||
FontConfigFontFileLister();
|
||||
|
||||
wxArrayString DoGetFilesWithFace(wxString facename);
|
||||
void DoInitialize();
|
||||
|
|
Loading…
Reference in a new issue