diff --git a/cocos2dx/label_nodes/CCFont.cpp b/cocos2dx/label_nodes/CCFont.cpp index 5894b564bd..51b7455c1f 100644 --- a/cocos2dx/label_nodes/CCFont.cpp +++ b/cocos2dx/label_nodes/CCFont.cpp @@ -88,7 +88,9 @@ void Font::setCurrentGlyphCollection(GlyphCollection glyphs, const char *customG const char * Font::getCurrentGlyphCollection() { if (_customGlyphs) + { return _customGlyphs; + } else { return getGlyphCollection(_usedGlyphs);