SCI: removing single byte chars from double byte check in sjis class (damn wikipedia with their similar colors hehe)

svn-id: r48706
This commit is contained in:
Martin Kiewitz 2010-04-18 21:18:58 +00:00
parent 4b8d0f48dc
commit 96b71b3745

View File

@ -53,7 +53,7 @@ GuiResourceId GfxFontSjis::getResourceId() {
// Returns true for first byte of double byte characters
bool GfxFontSjis::isDoubleByte(uint16 chr) {
if ((chr == 0x5C) || (chr == 0x7E) || ((chr >= 0x81) && (chr <= 0x9F)) || ((chr >= 0xE0) && (chr <= 0xEF)))
if (((chr >= 0x81) && (chr <= 0x9F)) || ((chr >= 0xE0) && (chr <= 0xEF)))
return true;
return false;
}