From 464f603377fcf3b2d07f729c26e076f201841255 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 27 Feb 2004 05:49:24 +0000 Subject: [PATCH] cleanup --- stepmania/src/RageUtil_FileDB.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageUtil_FileDB.cpp b/stepmania/src/RageUtil_FileDB.cpp index 2309eaef81..6b0757df73 100644 --- a/stepmania/src/RageUtil_FileDB.cpp +++ b/stepmania/src/RageUtil_FileDB.cpp @@ -132,8 +132,8 @@ int FilenameDB::GetFileHash( const CString &sPath ) bool FilenameDB::ResolvePath(CString &path) { - if(path == ".") return true; - if(path == "") return true; + if( path == "." || path == "" ) + return true; /* Split path into components. */ int begin = 0, size = -1;