Updated CCFileUtils of linux.

This commit is contained in:
James Chen 2013-01-26 23:20:40 +08:00
parent af1eb5fa87
commit be6c0c9d9b
1 changed files with 1 additions and 1 deletions

View File

@ -194,7 +194,7 @@ void CCFileUtils::setResourceDirectory(const char* pszResourceDirectory)
{
m_obDirectory.append("/");
}
m_pSearchPathArray->insertObject(CCString::create(m_obDirectory.c_str()), 0);
m_searchPathArray.insert(m_searchPathArray.begin(), m_obDirectory);
}
string CCFileUtils::getWriteablePath()