summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@etlken>2010-08-06 17:11:19 +0900
committerKenichi Handa <handa@etlken>2010-08-06 17:11:19 +0900
commit7a84eee5b745ad577d414158716ffe2ee487a117 (patch)
tree8941277791414c9648b79f304b5d27de0e46eb76 /src/coding.c
parentfaa28da9b740a4b5f297fc215d79a66d71bf6f78 (diff)
downloademacs-7a84eee5b745ad577d414158716ffe2ee487a117.tar.gz
Improve the encoding by compound-text-with-extensions.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index bdc37cb7c53..aef80f5cc80 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3935,7 +3935,7 @@ decode_coding_iso_2022 (coding)
int size;
ONE_MORE_BYTE (dim);
- if (dim < 0 || dim > 4)
+ if (dim < '0' || dim > '4')
goto invalid_code;
ONE_MORE_BYTE (M);
if (M < 128)