mirror of https://github.com/axmolengine/axmol.git
Merge pull request #1325 from walzer/gles20
bug fix: CCString::stringWithContentsOfFile should call CCString::createWithContentsOfFile, but not CCString::create
This commit is contained in:
commit
4673977c31
|
@ -219,7 +219,7 @@ CCString* CCString::createWithFormat(const char* format, ...)
|
|||
|
||||
CCString* CCString::stringWithContentsOfFile(const char* pszFileName)
|
||||
{
|
||||
return CCString::create(pszFileName);
|
||||
return CCString::createWithContentsOfFile(pszFileName);
|
||||
}
|
||||
|
||||
CCString* CCString::createWithContentsOfFile(const char* pszFileName)
|
||||
|
|
Loading…
Reference in New Issue