aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
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 a8f84378e66..388b4b833c4 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -1858,7 +1858,7 @@ encode_coding_utf_16 (coding)
1858 { 1858 {
1859 ASSURE_DESTINATION (safe_room); 1859 ASSURE_DESTINATION (safe_room);
1860 c = *charbuf++; 1860 c = *charbuf++;
1861 if (c >= MAX_UNICODE_CHAR) 1861 if (c > MAX_UNICODE_CHAR)
1862 c = coding->default_char; 1862 c = coding->default_char;
1863 1863
1864 if (c < 0x10000) 1864 if (c < 0x10000)