For the systems where wchar_t is not unsigned...

This commit is contained in:
Guillaume Melquiond 2005-04-26 21:06:43 +00:00
parent 0fb617c422
commit 0d4372743a

View file

@ -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;
}