Patch 9.0.0068

3 views
Skip to first unread message

Bram Moolenaar

unread,
Jul 25, 2022, 1:36:03 PM7/25/22
to vim...@googlegroups.com

Patch 9.0.0068 (after 9.0.0067)
Problem: Build fails with tiny features.
Solution: Add #ifdef.
Files: src/charset.c


*** ../vim-9.0.0067/src/charset.c 2022-07-25 18:13:33.046580756 +0100
--- src/charset.c 2022-07-25 18:32:35.777970219 +0100
***************
*** 960,969 ****
* Free any allocated item in "cts".
*/
void
! clear_chartabsize_arg(chartabsize_T *cts)
{
if (cts->cts_text_prop_count > 0)
vim_free(cts->cts_text_props);
}

/*
--- 960,971 ----
* Free any allocated item in "cts".
*/
void
! clear_chartabsize_arg(chartabsize_T *cts UNUSED)
{
+ #ifdef FEAT_PROP_POPUP
if (cts->cts_text_prop_count > 0)
vim_free(cts->cts_text_props);
+ #endif
}

/*
***************
*** 1023,1029 ****
--- 1025,1033 ----
int *headp UNUSED)
{
win_T *wp = cts->cts_win;
+ #ifdef FEAT_PROP_POPUP
char_u *line = cts->cts_line; // start of the line
+ #endif
char_u *s = cts->cts_ptr;
colnr_T vcol = cts->cts_vcol;
#ifdef FEAT_LINEBREAK
*** ../vim-9.0.0067/src/version.c 2022-07-25 18:13:33.054580717 +0100
--- src/version.c 2022-07-25 18:34:51.070620938 +0100
***************
*** 737,738 ****
--- 737,740 ----
{ /* Add new patch number below this line */
+ /**/
+ 68,
/**/

--
An actual excerpt from a classified section of a city newspaper:
"Illiterate? Write today for free help!"

/// 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 ///
Reply all
Reply to author
Forward
0 new messages