diff options
author | Bram Moolenaar <Bram@vim.org> | 2022-03-22 20:42:12 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2022-03-22 20:42:12 +0000 |
commit | fe154990c1c57fac6d5a4b1bfb682e27adb4eb8c (patch) | |
tree | f2bbad2d3535a267d934e85eeadf1d652936d5eb /src/message.c | |
parent | 6f2465d336a9d4afe392db4084ef7e9db17e67c1 (diff) | |
download | vim-git-fe154990c1c57fac6d5a4b1bfb682e27adb4eb8c.tar.gz |
patch 8.2.4610: some conditions are always truev8.2.4610
Problem: Some conditions are always true.
Solution: Remove the useless conditions. (closes #9993)
Diffstat (limited to 'src/message.c')
-rw-r--r-- | src/message.c | 2 |
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; |