cocos2d/cocos2d-x — pull request #2649 by nmakoto (2013-05-27 11:35:52+00:00)
Title: [FIX] CCSprite and CCSpriteFrameCache work with trimmed textures

If you have sprite sheet and use trim option for textures. Then they will draw incorrectly (with parts of another textures).
This should fix it.