Small fix to last commit

Originally committed to SVN as r1674.
This commit is contained in:
Rodrigo Braz Monteiro 2008-01-10 23:22:49 +00:00
parent bc1b90a3c3
commit 6f29cc7105
1 changed files with 1 additions and 1 deletions

View File

@ -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");
}