mirror of https://github.com/axmolengine/axmol.git
Fixed a comment.
This commit is contained in:
parent
d175884f79
commit
54944ab1f9
|
@ -543,7 +543,8 @@ CCString * CCNodeLoader::parsePropTypeFontTTF(CCNode * pNode, CCNode * pParent,
|
|||
|
||||
CCString * ttfEnding = CCString::stringWithCString(".ttf");
|
||||
|
||||
/* System fonts come without the ".ttf" extension, so remove the path if there is one. */
|
||||
/* If the fontTTF comes with the ".ttf" extension, prepend the absolute path.
|
||||
* System fonts come without the ".ttf" extension and do not need the path prepended. */
|
||||
if(CCBReader::endsWith(CCBReader::toLowerCase(fontTTF), ttfEnding)){
|
||||
fontTTF = CCBReader::concat(pCCBReader->getCCBRootPath(), fontTTF);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue