commit | 719939c888fe583419eec652a7cc71172bf3afb1 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Tue Sep 25 12:51:28 2007 +0000 |
committer | Bram Moolenaar <Bram@vim.org> | Tue Sep 25 12:51:28 2007 +0000 |
tree | 4ed0721c162b23f5f196dd5c1f0081af23525324 | |
parent | b8dc4d4cdf95bac309bfff342da0eee5159c1c7e [diff] [blame] |
updated for version 7.1-119
diff --git a/src/option.c b/src/option.c index 59a2fa3..0bdc0a4 100644 --- a/src/option.c +++ b/src/option.c
@@ -7824,6 +7824,8 @@ errmsg = e_positive; p_ch = 1; } + if (p_ch > Rows - min_rows() + 1) + p_ch = Rows - min_rows() + 1; /* Only compute the new window layout when startup has been * completed. Otherwise the frame sizes may be wrong. */