summaryrefslogtreecommitdiff
path: root/src/text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/text.c')
-rw-r--r--src/text.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/text.c b/src/text.c
index 64a302fed..25c7a9d79 100644
--- a/src/text.c
+++ b/src/text.c
@@ -3352,7 +3352,11 @@ static u8 GetGlyphWidth(struct Window *win, u32 glyph)
{
u8 width = 8;
+#if REVISION >= 1
+ if (win->charset != CHARSET_JAPANESE)
+#else
if (win->charset == CHARSET_LATIN)
+#endif
{
width = win->spacing;
if (!win->spacing)