HCoop
/
bpt
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0a926c0
)
(decode_coding_iso2022): Translate invalid codes if
author
Kenichi Handa
<handa@m17n.org>
Tue, 18 Jan 2005 00:11:43 +0000
(
00:11
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Tue, 18 Jan 2005 00:11:43 +0000
(
00:11
+0000)
translation-table is specified.
src/coding.c
patch
|
blob
|
blame
|
history
diff --git
a/src/coding.c
b/src/coding.c
index
400210f
..
79e32fb
100644
(file)
--- a/
src/coding.c
+++ b/
src/coding.c
@@
-2208,6
+2208,8
@@
decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
DECODE_COMPOSITION_END ('1');
src = src_base;
c = *src++;
+ if (! NILP (translation_table))
+ c = translate_char (translation_table, c, 0, 0, 0);
EMIT_CHAR (c);
}