mirror of https://github.com/odrling/Aegisub
Small fix to last commit
Originally committed to SVN as r1674.
This commit is contained in:
parent
bc1b90a3c3
commit
6f29cc7105
|
@ -628,7 +628,7 @@ void VideoContext::SaveSnapshot(bool raw) {
|
||||||
// Is it a path specifier and not an actual fixed path?
|
// Is it a path specifier and not an actual fixed path?
|
||||||
if (option[0] == _T('?')) {
|
if (option[0] == _T('?')) {
|
||||||
// If dummy video is loaded, we can't save to the video location
|
// 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
|
// So try the script location instead
|
||||||
option = _T("?script");
|
option = _T("?script");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue