diff --git a/aegisub/video_context.cpp b/aegisub/video_context.cpp index 09b3971c9..6b32f89e1 100644 --- a/aegisub/video_context.cpp +++ b/aegisub/video_context.cpp @@ -628,7 +628,7 @@ void VideoContext::SaveSnapshot(bool raw) { // Is it a path specifier and not an actual fixed path? if (option[0] == _T('?')) { // If dummy video is loaded, we can't save to the video location - if (option.StartsWith(_T("?video")) && (videoName.Find(_T("?dummy")) != wxString::wxNOT_FOUND)) { + if (option.StartsWith(_T("?video")) && (videoName.Find(_T("?dummy")) != wxNOT_FOUND)) { // So try the script location instead option = _T("?script"); }