mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 11:40:14 +00:00
For the systems where wchar_t is not unsigned...
This commit is contained in:
parent
0fb617c422
commit
0d4372743a
@ -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…
x
Reference in New Issue
Block a user