From c306eef796f959043f274be644b46382d5d11bea Mon Sep 17 00:00:00 2001 From: Niels Martin Hansen Date: Thu, 18 Oct 2007 02:26:14 +0000 Subject: [PATCH] Fix "keyframes file not found" error always occurring on subs file load, when no keyframes file was used. Originally committed to SVN as r1603. --- aegisub/frame_main.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/aegisub/frame_main.cpp b/aegisub/frame_main.cpp index f6ebd4718..d8cd9c9e9 100644 --- a/aegisub/frame_main.cpp +++ b/aegisub/frame_main.cpp @@ -884,7 +884,9 @@ void FrameMain::SynchronizeProject(bool fromSubs) { } // Keyframes - KeyFrameFile::Load(curSubsKeyframes); + if (curSubsKeyframes != _T("")) { + KeyFrameFile::Load(curSubsKeyframes); + } // Audio if (curSubsAudio != audioBox->audioName) {