mirror of https://github.com/odrling/Aegisub
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
|
@ -76,6 +76,14 @@ wxArrayString FontConfigFontFileLister::DoGetFilesWithFace(wxString facename) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
///////////////
|
||||||
|
// Constructor
|
||||||
|
FontConfigFontFileLister::FontConfigFontFileLister()
|
||||||
|
: fontconf(0), aux(0)
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
//////////////
|
//////////////
|
||||||
// Initialize
|
// Initialize
|
||||||
void FontConfigFontFileLister::DoInitialize() {
|
void FontConfigFontFileLister::DoInitialize() {
|
||||||
|
|
|
@ -52,6 +52,8 @@ private:
|
||||||
FcConfig *fontconf;
|
FcConfig *fontconf;
|
||||||
FcPattern *aux;
|
FcPattern *aux;
|
||||||
|
|
||||||
|
FontConfigFontFileLister();
|
||||||
|
|
||||||
wxArrayString DoGetFilesWithFace(wxString facename);
|
wxArrayString DoGetFilesWithFace(wxString facename);
|
||||||
void DoInitialize();
|
void DoInitialize();
|
||||||
void DoClearData();
|
void DoClearData();
|
||||||
|
|
Loading…
Reference in New Issue