From a8365e11b697d5afba546c0fab7114f7b011bda4 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 11 Dec 2003 06:51:54 +0000 Subject: [PATCH] Make CollapsePath strip "." and empty path entries "foo//bar" --- stepmania/src/RageFile.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/stepmania/src/RageFile.cpp b/stepmania/src/RageFile.cpp index 572f79bacf..0c24ec48dd 100644 --- a/stepmania/src/RageFile.cpp +++ b/stepmania/src/RageFile.cpp @@ -33,7 +33,7 @@ CString FixSlashes( CString sPath ) void CollapsePath( CString &sPath ) { CStringArray as; - split( sPath, "/", as ); + split( sPath, "/", as, true ); for( unsigned i=0; i