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
|
||||
void FontConfigFontFileLister::DoInitialize() {
|
||||
|
|
|
@ -52,6 +52,8 @@ private:
|
|||
FcConfig *fontconf;
|
||||
FcPattern *aux;
|
||||
|
||||
FontConfigFontFileLister();
|
||||
|
||||
wxArrayString DoGetFilesWithFace(wxString facename);
|
||||
void DoInitialize();
|
||||
void DoClearData();
|
||||
|
|
Loading…
Reference in New Issue