From 0f2e0c96a733bbceb8ea8f0e1d40796695ecf2fa Mon Sep 17 00:00:00 2001 From: YamaArashi Date: Sat, 10 Sep 2016 22:40:33 -0700 Subject: build revision 1 and 2 --- src/text.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/text.c') 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) -- cgit v1.2.3