summaryrefslogtreecommitdiff
path: root/include/JSystem/JUtility
diff options
context:
space:
mode:
Diffstat (limited to 'include/JSystem/JUtility')
-rw-r--r--include/JSystem/JUtility/JUTFont.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/JSystem/JUtility/JUTFont.h b/include/JSystem/JUtility/JUTFont.h
index ec7c7a1099..310148f42f 100644
--- a/include/JSystem/JUtility/JUTFont.h
+++ b/include/JSystem/JUtility/JUTFont.h
@@ -100,6 +100,9 @@ public:
static bool isLeadByte_ShiftJIS(int b) {
return (b >= 0x81 && b <= 0x9f) || (b >= 0xe0 && b <= 0xfc);
}
+ static bool isLeadByte_EUC(int b) {
+ return (b >= 0xA1 && b <= 0xFE) || b == 0x8E;
+ }
void initialize_state();
void setCharColor(JUtility::TColor col1);