From e631a65d9f2957a7b70ae953a33836f5ac6f4369 Mon Sep 17 00:00:00 2001 From: Walzer Date: Thu, 22 Jul 2010 03:20:52 +0000 Subject: [PATCH] issue #7, correct an error --- cocos2dx/textures/CCTextureCache.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cocos2dx/textures/CCTextureCache.cpp b/cocos2dx/textures/CCTextureCache.cpp index 5ce7a5ede6..fc40c3a685 100644 --- a/cocos2dx/textures/CCTextureCache.cpp +++ b/cocos2dx/textures/CCTextureCache.cpp @@ -245,7 +245,7 @@ CCTexture2D * CCTextureCache::addPVRTCImage(const char* fileimage) NSAssert(fileimage != NULL, "TextureCache: fileimage MUST not be nill"); CCTexture2D * tex; - std:string key(fileimage); + std::string key(fileimage); if( (tex = m_pTextures->objectForKey(key)) ) { return tex;