summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.h b/src/coding.h
index 6008557cbf2..3facc43547b 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -149,7 +149,7 @@ struct iso2022_spec
int initial_designation[4];
/* A graphic register to which each charset should be designated. */
- char requested_designation[MAX_CHARSET];
+ char requested_designation[MAX_CHARSET + 1];
/* Set to 1 temporarily only when graphic register 2 or 3 is invoked
by single-shift while encoding. */