summaryrefslogtreecommitdiffstats
path: root/src/popupmenu.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/popupmenu.c')
-rw-r--r--src/popupmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popupmenu.c b/src/popupmenu.c
index fdec5f3ec2..6e9d826473 100644
--- a/src/popupmenu.c
+++ b/src/popupmenu.c
@@ -461,7 +461,7 @@ pum_compute_text_attrs(char_u *text, hlf_T hlf)
if (in_fuzzy)
ga = fuzzy_match_str_with_pos(text, leader);
else
- matched_start = STRNCMP(text, leader, leader_len) == 0;
+ matched_start = MB_STRNICMP(text, leader, leader_len) == 0;
while (*ptr != NUL)
{