summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/typo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/typo.c b/src/typo.c
index 4012730..c16cab4 100644
--- a/src/typo.c
+++ b/src/typo.c
@@ -20,7 +20,7 @@
#include <string.h>
// Assume QWERTY layout for now
-static const int key_coords[UCHAR_MAX][3] = {
+static const int key_coords[UCHAR_MAX + 1][3] = {
['`'] = { 0, 0, 0},
['~'] = { 0, 0, 1},
['1'] = { 3, 0, 0},