aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/cmds.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/cmds.c b/src/cmds.c
index c6a94b1f3b8..c1f92c745f6 100644
--- a/src/cmds.c
+++ b/src/cmds.c
@@ -354,6 +354,10 @@ internal_self_insert (c, noautofill)
354 { 354 {
355 c = unibyte_char_to_multibyte (c); 355 c = unibyte_char_to_multibyte (c);
356 len = CHAR_STRING (c, workbuf, str); 356 len = CHAR_STRING (c, workbuf, str);
357 if (len == 1)
358 /* If C has modifier bits, this makes C an appropriate
359 one-byte char. */
360 c = *str;
357 } 361 }
358 else 362 else
359 { 363 {