don't mangle Root in RageFileManager

This commit is contained in:
Glenn Maynard
2003-12-06 05:52:44 +00:00
parent 1488833df7
commit 6ea32749b7
2 changed files with 7 additions and 2 deletions
+2
View File
@@ -40,6 +40,8 @@ public:
RageFileDriverDirect::RageFileDriverDirect( CString root_ ):
root(root_)
{
if( root.Right(1) != "/" )
root += '/';
}
void FDB_GetDirListing( CString sPath, CStringArray &AddTo, bool bOnlyDirs, bool bReturnPathToo );