Patch 9.0.0523 (after 9.0.0519)
Problem: more compiler warnings for arguments in small version
Solution: Adjust #ifdefs.
Files: src/drawline.c
*** ../vim-9.0.0522/src/drawline.c 2022-09-20 20:25:33.116224593 +0100
--- src/drawline.c 2022-09-20 21:09:10.741259418 +0100
***************
*** 391,396 ****
--- 391,397 ----
#endif
}
}
+
#if defined(FEAT_PROP_POPUP) || defined(PROTO)
/*
* Return the cell size of virtual text after truncation.
***************
*** 1530,1536 ****
{
// Show the line number, if desired.
wlv.draw_state = WL_NR;
! handle_lnum_col(wp, &wlv, sign_present, num_attr);
}
#ifdef FEAT_LINEBREAK
--- 1531,1543 ----
{
// Show the line number, if desired.
wlv.draw_state = WL_NR;
! handle_lnum_col(wp, &wlv,
! #ifdef FEAT_SIGNS
! sign_present, num_attr
! #else
! 0, 0
! #endif
! );
}
#ifdef FEAT_LINEBREAK
*** ../vim-9.0.0522/src/version.c 2022-09-20 20:52:30.074166608 +0100
--- src/version.c 2022-09-20 21:09:26.081237397 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 523,
/**/
--
FIXME and XXX are two common keywords used to mark broken or incomplete code
not only since XXX as a sex reference would grab everybody's attention but
simply due to the fact that Vim would highlight these words.
-- Hendrik Scholz
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///