diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c index 457b1ac7801..d95da9bf9eb 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1495,7 +1495,7 @@ decode_coding_utf_16 (coding) | |||
| 1495 | { | 1495 | { |
| 1496 | c = ((surrogate - 0xD800) << 10) | (c - 0xDC00); | 1496 | c = ((surrogate - 0xD800) << 10) | (c - 0xDC00); |
| 1497 | CODING_UTF_16_SURROGATE (coding) = surrogate = 0; | 1497 | CODING_UTF_16_SURROGATE (coding) = surrogate = 0; |
| 1498 | *charbuf++ = c; | 1498 | *charbuf++ = 0x10000 + c; |
| 1499 | } | 1499 | } |
| 1500 | } | 1500 | } |
| 1501 | else | 1501 | else |