diff options
Diffstat (limited to 'src/fold.c')
-rw-r--r-- | src/fold.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fold.c b/src/fold.c index 881a19614..f8d9c1d7c 100644 --- a/src/fold.c +++ b/src/fold.c @@ -3025,7 +3025,7 @@ foldlevelIndent(flp) flp->lvl = -1; } else - flp->lvl = get_indent_buf(buf, lnum) / buf->b_p_sw; + flp->lvl = get_indent_buf(buf, lnum) / get_sw_value(); if (flp->lvl > flp->wp->w_p_fdn) { flp->lvl = flp->wp->w_p_fdn; |