Use wide-string character consistently
Comparing '\r' against 8bit character instead of 16bit wide character.
This commit is contained in:
parent
3e424550d8
commit
97a1bf2f5d
@ -447,7 +447,7 @@ void Text::ensureGeometryUpdate() const
|
||||
Uint32 curChar = m_string[i];
|
||||
|
||||
// Skip the \r char to avoid weird graphical issues
|
||||
if (curChar == '\r')
|
||||
if (curChar == L'\r')
|
||||
continue;
|
||||
|
||||
// Apply the kerning offset
|
||||
|
Loading…
Reference in New Issue
Block a user