branch: externals/indent-bars
commit 7957d7a2d3b44bdfff20eae49a3f798d45473b09
Author: JD Smith <[email protected]>
Commit: JD Smith <[email protected]>

    draw-line: handle 1 bar case correctly
---
 indent-bars.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/indent-bars.el b/indent-bars.el
index 83e54cb873..fa906305a5 100644
--- a/indent-bars.el
+++ b/indent-bars.el
@@ -632,7 +632,7 @@ display properties set to fill out the remaining bars, if 
any."
         (vp indent-bars--offset)
         (bar 1) prop fun tnum bcount)
     (when tabs
-      (while (and (< bar nbars) (< (setq tnum (/ vp tab-width)) tabs))
+      (while (and (<= bar nbars) (< (setq tnum (/ vp tab-width)) tabs))
        (setq bcount (indent-bars--tab-display (+ start tnum) (mod vp tab-width)
                                               bar (- nbars bar -1)))
        (cl-incf bar bcount)

Reply via email to