mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.2.4610: some conditions are always true
Problem: Some conditions are always true. Solution: Remove the useless conditions. (closes #9993)
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user