testing whether signed char is greater than 127 is always false, cast it to unsigned first

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2006-10-08 20:28:05 +00:00
parent f1e3914fde
commit 9d3554339a

View File

@@ -361,7 +361,7 @@ static void OutputStringEnt(wxOutputStream& stream, const wxString& str,
}
last = i + 1;
}
else if (c > 127)
else if ((unsigned wxChar)c > 127)
{
OutputString(stream, str.Mid(last, i - last), convMem, convFile);