File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1301,9 +1301,14 @@ popup_adjust_position(win_T *wp)
13011301 wp -> w_winrow = Rows - 1 ;
13021302 }
13031303 if (wp -> w_popup_pos == POPPOS_BOTTOM )
1304- // assume that each buffer line takes one screen line
1304+ {
1305+ // Assume that each buffer line takes one screen line, and one line
1306+ // for the top border. First make sure cmdline_row is valid,
1307+ // calling update_screen() will set it only later.
1308+ compute_cmdrow ();
13051309 wp -> w_winrow = MAX (cmdline_row
13061310 - wp -> w_buffer -> b_ml .ml_line_count - 1 , 0 );
1311+ }
13071312
13081313 if (!use_wantcol )
13091314 center_hor = TRUE;
Original file line number Diff line number Diff line change 1+ >s+0&#ffffff0|o|m|e| |t|e|x|t| @65
2+ |~+0#4040ff13&| @73
3+ |~| @73
4+ |~| @73
5+ |═+0#e000002&@74
6+ |m|e|s@1|a|g|e| @67
7+ |o+0#0000000&|n|e| @71
8+ |t|w|o| @53|1|,|1| @10|A|l@1|
Original file line number Diff line number Diff line change @@ -703,6 +703,8 @@ static char *(features[]) =
703703
704704static int included_patches [] =
705705{ /* Add new patch number below this line */
706+ /**/
707+ 446 ,
706708/**/
707709 445 ,
708710/**/
You can’t perform that action at this time.
0 commit comments