mirror of https://github.com/odrling/Aegisub
fix missing 'throw' found by gcc
Originally committed to SVN as r786.
This commit is contained in:
parent
8bae6a855a
commit
956d1d0842
|
@ -1109,7 +1109,7 @@ void FrameMain::LoadKeyframes(wxString filename) {
|
|||
|
||||
// Read header
|
||||
wxString cur = file.ReadLineFromFile();
|
||||
if (cur != _T("# keyframe format v1")) _T("Invalid keyframes file.");
|
||||
if (cur != _T("# keyframe format v1")) throw _T("Invalid keyframes file.");
|
||||
cur = file.ReadLineFromFile();
|
||||
if (cur.Left(4) != _T("fps ")) throw _T("Invalid keyframes file.");
|
||||
cur = cur.Mid(4);
|
||||
|
|
Loading…
Reference in New Issue