aboutsummaryrefslogtreecommitdiff
path: root/view.c
diff options
context:
space:
mode:
Diffstat (limited to 'view.c')
-rw-r--r--view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/view.c b/view.c
index 80c472e..7f47f1a 100644
--- a/view.c
+++ b/view.c
@@ -635,8 +635,8 @@ void view_update(View *view) {
if (view->colorcolumn > 0) {
size_t lineno = 0;
- int line_cols; /* Track the number of columns we've passed on each line */
- bool line_cc_set; /* Has the colorcolumn attribute been set for this line yet */
+ int line_cols = 0; /* Track the number of columns we've passed on each line */
+ bool line_cc_set = false; /* Has the colorcolumn attribute been set for this line yet */
for (Line *l = view->topline; l; l = l->next) {
if (l->lineno != lineno) {