projects
/
m17n
/
m17n-lib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2977ea3
)
(decode_coding_iso_2022): Sanitize "if" condition.
author
handa
<handa>
Mon, 9 Aug 2010 07:47:08 +0000
(07:47 +0000)
committer
handa
<handa>
Mon, 9 Aug 2010 07:47:08 +0000
(07:47 +0000)
src/coding.c
patch
|
blob
|
history
diff --git
a/src/coding.c
b/src/coding.c
index
179ad69
..
5fb2c07
100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-1836,7
+1836,7
@@
decode_coding_iso_2022 (const unsigned char *source, int src_bytes, MText *mt,
int bytes;
int i;
- if (! spec->flags & MCODING_ISO_DESIGNATION_CTEXT_EXT)
+ if (! (spec->flags & MCODING_ISO_DESIGNATION_CTEXT_EXT))
goto invalid_byte;
/* Compound-text uses these escape sequences: