about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/window.c b/src/ui/window.c
index 6f77f107..56f477da 100644
--- a/src/ui/window.c
+++ b/src/ui/window.c
@@ -1742,7 +1742,7 @@ win_print_trackbar(ProfWin* window)
     wbkgdset(window->layout->win, theme_attrs(THEME_TRACKBAR));
     wattron(window->layout->win, theme_attrs(THEME_TRACKBAR));
 
-    for (int i = 1; i < cols; i++) {
+    for (int i = 1; i <= cols; i++) {
         wprintw(window->layout->win, "-");
     }