mirror of
https://github.com/vim/vim.git
synced 2025-11-10 10:47:23 -05:00
patch 9.1.1255: missing test condition for 'pummaxwidth' setting
Problem: missing test condition for 'pummaxwidth' setting, pummaxwidth
not effective when width is 32 and height is 10
(after v9.1.1250)
Solution: add missing comparison condition in pum_width()
(glepnir)
closes: #16999
Signed-off-by: glepnir <glephunter@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
aa68f8a095
commit
532c5aec6f
@@ -342,6 +342,10 @@ pum_display(
|
||||
if (p_pmw > 0 && pum_width > p_pmw)
|
||||
pum_width = p_pmw;
|
||||
}
|
||||
else if (p_pmw > 0 && pum_width > p_pmw)
|
||||
{
|
||||
pum_width = p_pmw;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user