File tree Expand file tree Collapse file tree 6 files changed +10
-10
lines changed
Expand file tree Collapse file tree 6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change @@ -3438,7 +3438,7 @@ compute_cmdrow(void)
34383438 cmdline_row = Rows - 1 ;
34393439 else
34403440 cmdline_row = W_WINROW (lastwin ) + lastwin -> w_height
3441- + W_STATUS_HEIGHT ( lastwin ) ;
3441+ + lastwin -> w_status_height ;
34423442}
34433443
34443444 static void
Original file line number Diff line number Diff line change @@ -4910,10 +4910,10 @@ xy2win(int x UNUSED, int y UNUSED)
49104910 }
49114911 else if (row > wp -> w_height ) /* below status line */
49124912 update_mouseshape (SHAPE_IDX_CLINE );
4913- else if (!(State & CMDLINE ) && W_VSEP_WIDTH ( wp ) > 0 && col == wp -> w_width
4913+ else if (!(State & CMDLINE ) && wp -> w_vsep_width > 0 && col == wp -> w_width
49144914 && (row != wp -> w_height || !stl_connected (wp )) && msg_scrolled == 0 )
49154915 update_mouseshape (SHAPE_IDX_VSEP );
4916- else if (!(State & CMDLINE ) && W_STATUS_HEIGHT ( wp ) > 0
4916+ else if (!(State & CMDLINE ) && wp -> w_status_height > 0
49174917 && row == wp -> w_height && msg_scrolled == 0 )
49184918 update_mouseshape (SHAPE_IDX_STATUS );
49194919 else
Original file line number Diff line number Diff line change @@ -622,8 +622,8 @@ update_screen(int type_arg)
622622 else
623623 {
624624 wp -> w_redr_type = NOT_VALID ;
625- if (W_WINROW (wp ) + wp -> w_height + W_STATUS_HEIGHT ( wp )
626- <= msg_scrolled )
625+ if (W_WINROW (wp ) + wp -> w_height + wp -> w_status_height
626+ <= msg_scrolled )
627627 wp -> w_redr_status = TRUE;
628628 }
629629 }
@@ -9490,7 +9490,7 @@ win_ins_lines(
94909490 {
94919491 wp -> w_redr_status = TRUE;
94929492 redraw_cmdline = TRUE;
9493- nextrow = W_WINROW (wp ) + wp -> w_height + W_STATUS_HEIGHT ( wp ) ;
9493+ nextrow = W_WINROW (wp ) + wp -> w_height + wp -> w_status_height ;
94949494 lastrow = nextrow + line_count ;
94959495 if (lastrow > Rows )
94969496 lastrow = Rows ;
Original file line number Diff line number Diff line change @@ -2702,8 +2702,8 @@ struct window_S
27022702 int w_status_height ; /* number of status lines (0 or 1) */
27032703 int w_wincol ; /* Leftmost column of window in screen. */
27042704 int w_width ; /* Width of window, excluding separation. */
2705- int w_vsep_width ; /* Number of separator columns (0 or 1).
2706- use W_VSEP_WIDTH() */
2705+ int w_vsep_width ; /* Number of separator columns (0 or 1). */
2706+
27072707 /*
27082708 * === start of cached values ====
27092709 */
Original file line number Diff line number Diff line change @@ -761,6 +761,8 @@ static char *(features[]) =
761761
762762static int included_patches [] =
763763{ /* Add new patch number below this line */
764+ /**/
765+ 1143 ,
764766/**/
765767 1142 ,
766768/**/
Original file line number Diff line number Diff line change @@ -860,8 +860,6 @@ extern int (*dyn_libintl_putenv)(const char *envstring);
860860#define FINDFILE_BOTH 2 /* files and directories */
861861
862862#define W_ENDCOL (wp ) (wp->w_wincol + wp->w_width)
863- #define W_VSEP_WIDTH (wp ) (wp->w_vsep_width)
864- #define W_STATUS_HEIGHT (wp ) (wp->w_status_height)
865863#ifdef FEAT_MENU
866864# define W_WINROW (wp ) (wp->w_winrow + wp->w_winbar_height)
867865#else
You can’t perform that action at this time.
0 commit comments