X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7b907278efbf53a35ab9eb0645f4ceb553aa02de..ccb5db57cdb1766eefb7023dda50ede9f0d01f78:/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);