fix missing 'throw' found by gcc

Originally committed to SVN as r786.
This commit is contained in:
David Lamparter 2007-01-13 08:35:04 +00:00
parent 8bae6a855a
commit 956d1d0842
1 changed files with 1 additions and 1 deletions

View File

@ -1109,7 +1109,7 @@ void FrameMain::LoadKeyframes(wxString filename) {
// Read header // Read header
wxString cur = file.ReadLineFromFile(); 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(); cur = file.ReadLineFromFile();
if (cur.Left(4) != _T("fps ")) throw _T("Invalid keyframes file."); if (cur.Left(4) != _T("fps ")) throw _T("Invalid keyframes file.");
cur = cur.Mid(4); cur = cur.Mid(4);