Merge pull request #1325 from walzer/gles20

bug fix: CCString::stringWithContentsOfFile should call CCString::createWithContentsOfFile, but not CCString::create
This commit is contained in:
Walzer 2012-09-16 01:27:20 -07:00
commit 4673977c31
1 changed files with 1 additions and 1 deletions

View File

@ -219,7 +219,7 @@ CCString* CCString::createWithFormat(const char* format, ...)
CCString* CCString::stringWithContentsOfFile(const char* pszFileName) CCString* CCString::stringWithContentsOfFile(const char* pszFileName)
{ {
return CCString::create(pszFileName); return CCString::createWithContentsOfFile(pszFileName);
} }
CCString* CCString::createWithContentsOfFile(const char* pszFileName) CCString* CCString::createWithContentsOfFile(const char* pszFileName)