Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
  • Loading branch information
nutty898 committed Jun 4, 2013
1 parent dcee3c9 commit 4ccb761
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions CocoGUILIB/CocoGUILIB/System/CCSReader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -220,9 +220,9 @@ namespace cs {
std::string pPath = jsonpath.substr(0,pos+1);
for (int i=0; i<texturesCount; i++) {
const char* file = DICTOOL->getStringValueFromArray_json(jsonDict, "textures", i);
std::string pp = pPath;
pp.append(file);
COCOUISYSTEM->addSpriteFrame(file);
std::string tp = pPath;
tp.append(file);
COCOUISYSTEM->addSpriteFrame(tp.c_str());
}
float fileDesignWidth = DICTOOL->getFloatValue_json(jsonDict, "designWidth");
float fileDesignHeight = DICTOOL->getFloatValue_json(jsonDict, "designHeight");
Expand Down

0 comments on commit 4ccb761

Please sign in to comment.