forked from mia/Aegisub
c_str() on _filename.
Originally committed to SVN as r2147.
This commit is contained in:
parent
91c641789f
commit
3cd825e98b
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ void DummyVideoProvider::Create(double _fps, int frames, int _width, int _height
|
|||
// Parsing constructor
|
||||
DummyVideoProvider::DummyVideoProvider(Aegisub::String _filename, double _fps)
|
||||
{
|
||||
wxString filename = _filename;
|
||||
wxString filename = _filename.c_str();
|
||||
wxString params;
|
||||
if (!filename.StartsWith(_T("?dummy:"), ¶ms)) {
|
||||
throw _T("Attempted creating dummy video provider with non-dummy filename");
|
||||
|
|
Loading…
Reference in a new issue