summary refs log tree commit diff
path: root/Src/Zle/compresult.c
diff options
context:
space:
mode:
Diffstat (limited to 'Src/Zle/compresult.c')
-rw-r--r--Src/Zle/compresult.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/Src/Zle/compresult.c b/Src/Zle/compresult.c
index ad8c8ea62..4018c5488 100644
--- a/Src/Zle/compresult.c
+++ b/Src/Zle/compresult.c
@@ -2146,15 +2146,15 @@ iprintm(Cmgroup g, Cmatch *mp, UNUSED(int mc), UNUSED(int ml), int lastc, int wi
 	    printfmt(m->disp, 0, 1, 0);
 	    return;
 	}
-#ifdef ZLE_UNICODE_SUPPORT
-	len = mb_niceformat(m->disp, shout, NULL);
+#ifdef MULTIBYTE_SUPPORT
+	len = mb_niceformat(m->disp, shout, NULL, 0);
 #else
 	nicezputs(m->disp, shout);
 	len = niceztrlen(m->disp);
 #endif
     } else {
-#ifdef ZLE_UNICODE_SUPPORT
-	len = mb_niceformat(m->str, shout, NULL);
+#ifdef MULTIBYTE_SUPPORT
+	len = mb_niceformat(m->str, shout, NULL, 0);
 #else
 	nicezputs(m->str, shout);
 	len = niceztrlen(m->str);