mirror of https://github.com/axmolengine/axmol.git
Added comment as minggo requested
This commit is contained in:
parent
1b51b709ee
commit
a574d17bed
|
@ -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++;
|
||||
|
|
Loading…
Reference in New Issue