Added comment as minggo requested

This commit is contained in:
moadib 2012-09-06 10:09:29 +04:00
parent 1b51b709ee
commit a574d17bed
1 changed files with 1 additions and 0 deletions

View File

@ -1260,6 +1260,7 @@ void CCLabelBMFont::updateLabel()
{
float lineWidth = 0.0f;
unsigned int line_length = last_line.size();
// if last line is empty we must just increase lineNumber and work with next line
if (line_length == 0)
{
lineNumber++;