forked from aniani/vim
patch 9.0.0717: compiler warning for unused variable in tiny build
Problem: Compiler warning for unused variable in tiny build. Solution: Add #ifdefs.
This commit is contained in:
@@ -977,9 +977,11 @@ win_line(
|
|||||||
|
|
||||||
int n_skip = 0; // nr of cells to skip for 'nowrap' or
|
int n_skip = 0; // nr of cells to skip for 'nowrap' or
|
||||||
// concealing
|
// concealing
|
||||||
|
#ifdef FEAT_PROP_POPUP
|
||||||
int skip_cells = 0; // nr of cells to skip for virtual text
|
int skip_cells = 0; // nr of cells to skip for virtual text
|
||||||
// after the line, when w_skipcol is
|
// after the line, when w_skipcol is
|
||||||
// larger than the text length
|
// larger than the text length
|
||||||
|
#endif
|
||||||
|
|
||||||
int fromcol_prev = -2; // start of inverting after cursor
|
int fromcol_prev = -2; // start of inverting after cursor
|
||||||
int noinvcur = FALSE; // don't invert the cursor
|
int noinvcur = FALSE; // don't invert the cursor
|
||||||
@@ -1508,10 +1510,12 @@ win_line(
|
|||||||
n_skip = v - wlv.vcol;
|
n_skip = v - wlv.vcol;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#ifdef FEAT_PROP_POPUP
|
||||||
// If there the text doesn't reach to the desired column, need to skip
|
// If there the text doesn't reach to the desired column, need to skip
|
||||||
// "skip_cells" cells when virtual text follows.
|
// "skip_cells" cells when virtual text follows.
|
||||||
if (!wp->w_p_wrap && v > wlv.vcol)
|
if (!wp->w_p_wrap && v > wlv.vcol)
|
||||||
skip_cells = v - wlv.vcol;
|
skip_cells = v - wlv.vcol;
|
||||||
|
#endif
|
||||||
|
|
||||||
// Adjust for when the inverted text is before the screen,
|
// Adjust for when the inverted text is before the screen,
|
||||||
// and when the start of the inverted text is before the screen.
|
// and when the start of the inverted text is before the screen.
|
||||||
|
@@ -699,6 +699,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
717,
|
||||||
/**/
|
/**/
|
||||||
716,
|
716,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user