From db1de1a8e04dfcbb3f010da742ea14a1eb9b2750 Mon Sep 17 00:00:00 2001
From: Rodrigo Braz Monteiro <zeratul@cellosoft.com>
Date: Sat, 26 Jan 2008 17:18:12 +0000
Subject: [PATCH] Fixed a rogue long path (made it short path) in avs audio
 provider.

Originally committed to SVN as r1846.
---
 aegisub/audio_provider_avs.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/aegisub/audio_provider_avs.cpp b/aegisub/audio_provider_avs.cpp
index 2643e5462..262ec2b3b 100644
--- a/aegisub/audio_provider_avs.cpp
+++ b/aegisub/audio_provider_avs.cpp
@@ -136,7 +136,7 @@ void AvisynthAudioProvider::OpenAVSAudio() {
 			// Load DirectShowSource.dll from app dir if it exists
 			wxFileName dsspath(StandardPaths::DecodePath(_T("?data/DirectShowSource.dll")));
 			if (dsspath.FileExists()) {
-				env->Invoke("LoadPlugin",env->SaveString(dsspath.GetFullPath().mb_str(wxConvLocal)));
+				env->Invoke("LoadPlugin",env->SaveString(dsspath.GetShortPath().mb_str(wxConvLocal)));
 			}
 
 			// Load audio with DSS if it exists
-- 
GitLab