commit | a65576059ffd417d98091029f400bc931b4251ca | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Feb 04 22:43:20 2006 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Feb 04 22:43:20 2006 +0000 |
tree | c62a52fa84d4e3bc8d5b374d4aad0499e87d8b56 | |
parent | 41cabdadc280c26b06752be6606b0cc39845dafc [diff] [blame] |
updated for version 7.0193
diff --git a/src/popupmenu.c b/src/popupmenu.c index a129d14..7024e55 100644 --- a/src/popupmenu.c +++ b/src/popupmenu.c
@@ -84,7 +84,7 @@ } /* don't display when we only have room for one line */ - if (pum_height <= 1) + if (pum_height < 1 || (pum_height == 1 && size > 1)) return; /* Compute the width of the widest match. */