g_Mountpoints fix

This commit is contained in:
Glenn Maynard
2004-02-11 20:36:48 +00:00
parent 137a41efce
commit 82cb271f72
+3 -1
View File
@@ -285,7 +285,9 @@ void FilenameDB::AddFile( const CString &sPath, int size, int hash, void *priv )
do
{
/* Combine all but the last part. */
CString dir = join( "/", begin, end-1 ) + "/";
CString dir = join( "/", begin, end-1 );
if( dir != "" )
dir += "/";
const CString &fn = *(end-1);
FileSet *fs = GetFileSet( dir );