mirror of https://github.com/odrling/Aegisub
Fix compilation with dummy font file lister (i.e. without FT2/FC.)
Originally committed to SVN as r6532.
This commit is contained in:
parent
2ddde60efd
commit
95fe56d41b
|
@ -88,7 +88,7 @@ class FontsCollectorThread : public wxThread {
|
|||
#else
|
||||
AppendText(_("Aegisub was built without any font file listers enabled"), 2);
|
||||
struct DummyLister : public FontFileLister {
|
||||
std::vector<wxString> GetFontPaths(wxString const&, int, bool) { return std::vector<wxString>(); }
|
||||
std::vector<wxString> GetFontPaths(wxString const&, int, bool, std::set<wxUniChar> const&) { return std::vector<wxString>(); }
|
||||
} lister;
|
||||
#endif
|
||||
std::vector<wxString> paths = FontCollector(callback, lister).GetFontPaths(subs->Line);
|
||||
|
|
Loading…
Reference in New Issue