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;