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);