cocos2d/cocos2d-x — pull request #5149 by Pisces000221 (2014-01-22 01:29:56+00:00)
Title: Label::getStringNumLines returns 0 instead of -1 when containing an empty string

It used to be -1, now it's 0 when containing an empty string. It only returns -1 when string is nullptr.