From eebcf34edb78a733c0324ef968f150ea1dfeea0b Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Wed, 1 Feb 2012 23:59:32 +0000 Subject: [PATCH] Don't decode audio URIs stored on the script as it currently always stores the absolute path and the decoding breaks dummy audio URIs Originally committed to SVN as r6429. --- aegisub/src/frame_main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aegisub/src/frame_main.cpp b/aegisub/src/frame_main.cpp index db87609d0..e42f7e81d 100644 --- a/aegisub/src/frame_main.cpp +++ b/aegisub/src/frame_main.cpp @@ -610,7 +610,7 @@ void FrameMain::OnSubtitlesOpen() { wxString curSubsVideo = DecodeRelativePath(context->ass->GetScriptInfo("Video File"),context->ass->filename); wxString curSubsVFR = DecodeRelativePath(context->ass->GetScriptInfo("VFR File"),context->ass->filename); wxString curSubsKeyframes = DecodeRelativePath(context->ass->GetScriptInfo("Keyframes File"),context->ass->filename); - wxString curSubsAudio = DecodeRelativePath(context->ass->GetScriptInfo("Audio URI"),context->ass->filename); + wxString curSubsAudio = context->ass->GetScriptInfo("Audio URI"); // Check if there is anything to change int autoLoadMode = OPT_GET("App/Auto/Load Linked Files")->GetInt();