From 6946ff55962dcc5221e3b18a8e936efb96a5bba5 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 27 Feb 2004 06:21:59 +0000 Subject: [PATCH] fix extra "./" being added to song paths --- stepmania/src/Song.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/stepmania/src/Song.cpp b/stepmania/src/Song.cpp index b1c17e1cfa..92f49e6542 100644 --- a/stepmania/src/Song.cpp +++ b/stepmania/src/Song.cpp @@ -448,10 +448,6 @@ void FixupPath( CString &path ) /* Replace backslashes with slashes in all paths. */ FixSlashesInPlace( path ); - bool StartsWithDot = false; - if( path.Left(2) == "./" ) - StartsWithDot = true; - CollapsePath( path ); /* Many imported files contain erroneous whitespace before or after @@ -459,9 +455,6 @@ void FixupPath( CString &path ) * so let's just remove it. */ TrimLeft( path ); TrimRight( path ); - - if( StartsWithDot ) - path = "./" + path; } /* Songs in BlacklistImages will never be autodetected as song images. */