summaryrefslogtreecommitdiffstats
path: root/src/popupmenu.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2006-02-04 22:43:20 +0000
committerBram Moolenaar <Bram@vim.org>2006-02-04 22:43:20 +0000
commita65576059ffd417d98091029f400bc931b4251ca (patch)
treec62a52fa84d4e3bc8d5b374d4aad0499e87d8b56 /src/popupmenu.c
parent41cabdadc280c26b06752be6606b0cc39845dafc (diff)
updated for version 7.0193
Diffstat (limited to 'src/popupmenu.c')
-rw-r--r--src/popupmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/popupmenu.c b/src/popupmenu.c
index a129d146ab..7024e55560 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. */