X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b907278efbf53a35ab9eb0645f4ceb553aa02de..bc429ce01f519f3edae182b516cb15b8d2df54a7:/src/richtext/richtextxml.cpp diff --git a/src/richtext/richtextxml.cpp b/src/richtext/richtextxml.cpp index 1df105a391..eed0a71f4f 100644 --- a/src/richtext/richtextxml.cpp +++ b/src/richtext/richtextxml.cpp @@ -361,7 +361,7 @@ static void OutputStringEnt(wxOutputStream& stream, const wxString& str, } last = i + 1; } - else if (c > 127) + else if (wxUChar(c) > 127) { OutputString(stream, str.Mid(last, i - last), convMem, convFile);