Christian wrote:

> while reading fold.c I noticed the following error.
> 
> diff --git a/src/fold.c b/src/fold.c
> index bc79accb6..3d3a13127 100644
> --- a/src/fold.c
> +++ b/src/fold.c
> @@ -3219,7 +3219,7 @@ foldlevelIndent(fline_T *flp)
>             flp->lvl = -1;
>      }
>      else
> -       flp->lvl = get_indent_buf(buf, lnum) / get_sw_value(curbuf);
> +       flp->lvl = get_indent_buf(buf, lnum) / get_sw_value(buf);
>      if (flp->lvl > flp->wp->w_p_fdn)
>      {
>         flp->lvl = flp->wp->w_p_fdn;
> 
> Please check and apply.

I'll include it, thanks.

-- 
GUEST:        He's killed the best man!
SECOND GUEST: (holding a limp WOMAN) He's killed my auntie.
FATHER:       No, please!  This is supposed to be a happy occasion!  Let's
              not bicker and argue about who killed who ...
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui