From 3cd825e98b7846c1f71d7fff45167425609725af Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Tue, 25 Mar 2008 23:51:54 +0000 Subject: [PATCH] c_str() on _filename. Originally committed to SVN as r2147. --- aegisub/video_provider_dummy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/video_provider_dummy.cpp b/aegisub/video_provider_dummy.cpp index 77754c33c..37376377b 100644 --- a/aegisub/video_provider_dummy.cpp +++ b/aegisub/video_provider_dummy.cpp @@ -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");