mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
Fix build broken without multi-byte feature.
This commit is contained in:
@@ -3800,7 +3800,11 @@ clear_showcmd()
|
|||||||
}
|
}
|
||||||
while ((*p_sel != 'e') ? s <= e : s < e)
|
while ((*p_sel != 'e') ? s <= e : s < e)
|
||||||
{
|
{
|
||||||
|
# ifdef FEAT_MBYTE
|
||||||
l = (*mb_ptr2len)(s);
|
l = (*mb_ptr2len)(s);
|
||||||
|
# else
|
||||||
|
l = (*s == NUL) ? 0 : 1;
|
||||||
|
# endif
|
||||||
if (l == 0)
|
if (l == 0)
|
||||||
{
|
{
|
||||||
++bytes;
|
++bytes;
|
||||||
|
Reference in New Issue
Block a user