From 8271fdd95ba208b7033e2bf633eacbe611efcfd2 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 10 Apr 2012 15:24:06 +0800 Subject: [PATCH] Initialize m_sString pointer. --- cocos2dx/label_nodes/CCLabelBMFont.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/cocos2dx/label_nodes/CCLabelBMFont.cpp b/cocos2dx/label_nodes/CCLabelBMFont.cpp index 0893bd7cf6..edbed870b5 100644 --- a/cocos2dx/label_nodes/CCLabelBMFont.cpp +++ b/cocos2dx/label_nodes/CCLabelBMFont.cpp @@ -808,6 +808,7 @@ CCLabelBMFont::CCLabelBMFont() : m_cOpacity(0) , m_bIsOpacityModifyRGB(false) , m_pConfiguration(NULL) +, m_sString(NULL) , m_bLineBreakWithoutSpaces(false) , m_tImageOffset(CCPointZero) {