mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 00:12:59 +00:00
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:
parent
4b8d0f48dc
commit
96b71b3745
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user