diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-02-04 22:43:20 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-02-04 22:43:20 +0000 |
commit | a65576059ffd417d98091029f400bc931b4251ca (patch) | |
tree | c62a52fa84d4e3bc8d5b374d4aad0499e87d8b56 /src/popupmenu.c | |
parent | 41cabdadc280c26b06752be6606b0cc39845dafc (diff) | |
download | vim-git-a65576059ffd417d98091029f400bc931b4251ca.tar.gz |
updated for version 7.0193
Diffstat (limited to 'src/popupmenu.c')
-rw-r--r-- | src/popupmenu.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popupmenu.c b/src/popupmenu.c index a129d146a..7024e5556 100644 --- a/src/popupmenu.c +++ b/src/popupmenu.c @@ -84,7 +84,7 @@ pum_display(array, size, selected, row, height, col) } /* 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. */ |