summaryrefslogtreecommitdiff
path: root/Src/hist.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/hist.c')
-rw-r--r--Src/hist.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Src/hist.c b/Src/hist.c
index 6deb009d5..90183287d 100644
--- a/Src/hist.c
+++ b/Src/hist.c
@@ -1567,6 +1567,10 @@ casemodify(char *str, int how)
case CASMOD_CAPS:
default: /* shuts up compiler */
+#ifdef MULTIBYTE_SUPPORT
+ if (IS_COMBINING(wc))
+ break;
+#endif
if (!iswalnum(wc))
nextupper = 1;
else if (nextupper) {