revert correct search path

This commit is contained in:
minggo 2016-05-06 15:58:43 +08:00
parent f1557211fc
commit 997011601e
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ void ConfigParser::readConfig(const string &filepath)
#if (CC_TARGET_PLATFORM == CC_PLATFORM_IOS || CC_TARGET_PLATFORM == CC_PLATFORM_ANDROID)
// revert search path
searchPathArray.erase(searchPathArray.end() - 1);
searchPathArray.erase(searchPathArray.begin());
FileUtils::getInstance()->setSearchPaths(searchPathArray);
#endif