Patch 8.2.3804

4 views
Skip to first unread message

Bram Moolenaar

unread,
Dec 14, 2021, 4:04:18 AM12/14/21
to vim...@googlegroups.com

Patch 8.2.3804
Problem: Script context not set when copying 'swf' and 'ts'.
Solution: Use COPY_OPT_SCTX with the right argument. (closes #9347)
Files: src/option.c


*** ../vim-8.2.3803/src/option.c 2021-12-07 12:23:53.987565086 +0000
--- src/option.c 2021-12-14 08:59:17.436282289 +0000
***************
*** 5925,5931 ****
else
{
buf->b_p_swf = p_swf;
! COPY_OPT_SCTX(buf, BV_INF);
}
buf->b_p_cpt = vim_strsave(p_cpt);
COPY_OPT_SCTX(buf, BV_CPT);
--- 5925,5931 ----
else
{
buf->b_p_swf = p_swf;
! COPY_OPT_SCTX(buf, BV_SWF);
}
buf->b_p_cpt = vim_strsave(p_cpt);
COPY_OPT_SCTX(buf, BV_CPT);
***************
*** 6127,6132 ****
--- 6127,6133 ----
COPY_OPT_SCTX(buf, BV_ISK);
did_isk = TRUE;
buf->b_p_ts = p_ts;
+ COPY_OPT_SCTX(buf, BV_TS);
#ifdef FEAT_VARTABS
buf->b_p_vts = vim_strsave(p_vts);
COPY_OPT_SCTX(buf, BV_VTS);
*** ../vim-8.2.3803/src/version.c 2021-12-14 08:41:26.407677988 +0000
--- src/version.c 2021-12-14 09:01:02.040159085 +0000
***************
*** 751,752 ****
--- 751,754 ----
{ /* Add new patch number below this line */
+ /**/
+ 3804,
/**/

--
hundred-and-one symptoms of being an internet addict:
29. Your phone bill comes to your doorstep in a box.

/// 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