aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorJoakim Verona2013-04-25 08:30:53 +0200
committerJoakim Verona2013-04-25 08:30:53 +0200
commitcc21f4cde8eed1c3771f4293304c7f888f9e4b58 (patch)
tree69ddc147b436509e8541758f0b809bf7a837fa98 /src/coding.c
parent5877a57a3c3da1395cff267c06bb9690fd7f44e4 (diff)
parentced3fc5d2f65236af6595db93b064b77a5cdedfd (diff)
downloademacs-cc21f4cde8eed1c3771f4293304c7f888f9e4b58.tar.gz
emacs-cc21f4cde8eed1c3771f4293304c7f888f9e4b58.zip
auto upstream
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index f9799035b3c..b9fb92c481b 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3887,6 +3887,14 @@ decode_coding_iso_2022 (struct coding_system *coding)
3887 *charbuf++ = c < 0 ? -c : ASCII_BYTE_P (c) ? c : BYTE8_TO_CHAR (c); 3887 *charbuf++ = c < 0 ? -c : ASCII_BYTE_P (c) ? c : BYTE8_TO_CHAR (c);
3888 char_offset++; 3888 char_offset++;
3889 coding->errors++; 3889 coding->errors++;
3890 /* Reset the invocation and designation status to the safest
3891 one; i.e. designate ASCII to the graphic register 0, and
3892 invoke that register to the graphic plane 0. This typically
3893 helps the case that an designation sequence for ASCII "ESC (
3894 B" is somehow broken (e.g. broken by a newline). */
3895 CODING_ISO_INVOCATION (coding, 0) = 0;
3896 CODING_ISO_DESIGNATION (coding, 0) = charset_ascii;
3897 charset_id_0 = charset_ascii;
3890 continue; 3898 continue;
3891 3899
3892 break_loop: 3900 break_loop: