From 8c1d27b85fb8945fcc7efee5097582db64c0593b Mon Sep 17 00:00:00 2001 From: Andrew Livy Date: Thu, 5 Sep 2002 18:49:23 +0000 Subject: [PATCH] Redir Bugfix: Font's not redirecting correctly. --- stepmania/src/ThemeManager.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/stepmania/src/ThemeManager.cpp b/stepmania/src/ThemeManager.cpp index a197b2bf97..a594b0fcdf 100644 --- a/stepmania/src/ThemeManager.cpp +++ b/stepmania/src/ThemeManager.cpp @@ -187,7 +187,9 @@ try_element_again: file.Open( sRedirFilePath, CFile::modeRead ); CString sNewFileName; file.ReadString( sNewFileName ); - CString sNewFilePath = sDir+"\\"+sNewFileName; +// CString sNewFilePath = sDir+"\\"+sNewFileName; // This is what it used to be, FONTS were getting extra slashes + // at the start of their file names, so I took out this extra slash - Andy. + CString sNewFilePath = sDir+sNewFileName; if( sNewFileName == "" || !DoesFileExist(sNewFilePath) ) { throw RageException( "The redirect '%s' points to the file '%s', which does not exist. Verify that this redirect is correct.", sRedirFilePath, sNewFilePath );