Don't treat ".svn" as a mod, even if it is in the autoload dir.

git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@9454 4a71c877-e1ca-e34f-864e-861f7616d084
master
Guangcong Luo 2010-01-24 04:28:15 +00:00 committed by Git SVN Gateway
parent d7d4c258c4
commit 683c03f999
1 changed files with 1 additions and 1 deletions

View File

@ -169,7 +169,7 @@ void addSubdirs( const char * basedir, const char * subdir, const bool appendToP
#ifdef DEBUG
debug( LOG_NEVER, "addSubdirs: Examining subdir: [%s]", *i );
#endif // DEBUG
if( !checkList || inList( checkList, *i ) )
if (*i[0] != '.' && (!checkList || inList(checkList, *i)))
{
snprintf(tmpstr, sizeof(tmpstr), "%s%s%s%s", basedir, subdir, PHYSFS_getDirSeparator(), *i);
#ifdef DEBUG