summaryrefslogtreecommitdiff
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/message.c b/src/message.c
index af91bd813..2499723e4 100644
--- a/src/message.c
+++ b/src/message.c
@@ -1803,7 +1803,7 @@ str2special(
int len = (*mb_ptr2len)(str);
// For multi-byte characters check for an illegal byte.
- if (has_mbyte && MB_BYTE2LEN(*str) > len)
+ if (MB_BYTE2LEN(*str) > len)
{
transchar_nonprint(curbuf, buf, c);
*sp = str + 1;