mirror of https://github.com/odrling/Aegisub
Fix to factory template.
Originally committed to SVN as r869.
This commit is contained in:
parent
62bdfae3bf
commit
8aee6bd50b
|
@ -64,6 +64,7 @@ protected:
|
|||
|
||||
public:
|
||||
static wxArrayString GetFactoryList(wxString favourite=_T("")) {
|
||||
if (factories == NULL) factories = new std::map<wxString,T*>;
|
||||
wxArrayString list;
|
||||
favourite = favourite.Lower();
|
||||
for (std::map<wxString,T*>::iterator cur=factories->begin();cur!=factories->end();cur++) {
|
||||
|
|
Loading…
Reference in New Issue