From 9342b084c58eee89e8879ecbf23eedf87dd95f28 Mon Sep 17 00:00:00 2001 From: James Chen Date: Thu, 10 Oct 2013 09:54:22 +0800 Subject: [PATCH] issue #2823: Reverting CCFileUtils.cpp. --- cocos2dx/platform/CCFileUtils.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos2dx/platform/CCFileUtils.cpp b/cocos2dx/platform/CCFileUtils.cpp index 0db8c28f1a..6f286607fb 100644 --- a/cocos2dx/platform/CCFileUtils.cpp +++ b/cocos2dx/platform/CCFileUtils.cpp @@ -618,6 +618,7 @@ std::string FileUtils::fullPathForFilename(const std::string &filename) for (auto searchIt = _searchPathArray.begin(); searchIt != _searchPathArray.end(); ++searchIt) { for (auto resolutionIt = _searchResolutionsOrderArray.begin(); resolutionIt != _searchResolutionsOrderArray.end(); ++resolutionIt) { + fullpath = this->getPathForFilename(newFilename, *resolutionIt, *searchIt); if (fullpath.length() > 0)