summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/zx/charset.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/zx/charset.h b/include/zx/charset.h
index 6eea103..003e5f0 100644
--- a/include/zx/charset.h
+++ b/include/zx/charset.h
@@ -13,7 +13,7 @@
#define ZX81_CHAR_TOKEN_HIGH_END 0xff
#define ZX81_CHAR_LOW(c) \
- (c <= ZX81_CHARSET_LEN)
+ (c < ZX81_CHARSET_LEN)
#define ZX81_CHAR_INVERSE_START 0x80
#define ZX81_CHAR_INVERSE_END 0xbf