mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
patch 8.1.2120: some MB_ macros are more complicated than necessary
Problem: Some MB_ macros are more complicated than necessary. (Dominique Pelle) Solution: Simplify the macros. Expand inline.
This commit is contained in:
@@ -2621,7 +2621,7 @@ spell_iswordp(
|
||||
|
||||
if (has_mbyte)
|
||||
{
|
||||
l = MB_PTR2LEN(p);
|
||||
l = mb_ptr2len(p);
|
||||
s = p;
|
||||
if (l == 1)
|
||||
{
|
||||
|
Reference in New Issue
Block a user