For the systems where wchar_t is not unsigned...
This commit is contained in:
parent
0fb617c422
commit
0d4372743a
1 changed files with 1 additions and 1 deletions
|
@ -955,7 +955,7 @@ std::string word_wrap_text(const std::string& unwrapped_text, int font_size, int
|
|||
while(1) {
|
||||
if(start_of_line) {
|
||||
format_string = "";
|
||||
while(ch != end && *ch < 0x100 && is_format_char(*ch)) {
|
||||
while(ch != end && *ch < 0x100U && is_format_char(*ch)) {
|
||||
format_string.append(ch.substr().first, ch.substr().second);
|
||||
++ch;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue