mirror of https://github.com/axmolengine/axmol.git
Label:Fixed display not as expected(Redmine issue:22133).
This commit is contained in:
parent
e380b0cffa
commit
990a25f759
|
@ -251,7 +251,7 @@ void FontAtlas::findNewCharacters(const std::u16string& u16Text, std::unordered_
|
|||
else
|
||||
{
|
||||
auto length = u16Text.length();
|
||||
newChars.resize(length);
|
||||
newChars.reserve(length);
|
||||
for (size_t i = 0; i < length; ++i)
|
||||
{
|
||||
auto outIterator = _letterDefinitions.find(u16Text[i]);
|
||||
|
|
Loading…
Reference in New Issue