From fda669510a67539b0f81926b07b8ee0448521116 Mon Sep 17 00:00:00 2001 From: James Chen Date: Tue, 24 Jul 2012 11:32:02 +0800 Subject: [PATCH] fixed #1385: Logic error in BitmapFontMultiLineAlignment. --- samples/TestCpp/Classes/LabelTest/LabelTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/TestCpp/Classes/LabelTest/LabelTest.cpp b/samples/TestCpp/Classes/LabelTest/LabelTest.cpp index 0da3fd6bcf..b12999890f 100644 --- a/samples/TestCpp/Classes/LabelTest/LabelTest.cpp +++ b/samples/TestCpp/Classes/LabelTest/LabelTest.cpp @@ -1178,7 +1178,7 @@ BitmapFontMultiLineAlignment::BitmapFontMultiLineAlignment() longSentences->setColor(ccRED); m_pLastSentenceItem = longSentences; - longSentences->setTag(LineBreaks); + longSentences->setTag(LongSentences); lineBreaks->setTag(LineBreaks); mixed->setTag(Mixed);