Fix 'colorcolumn' adjecent columns not highlighted after end of line.
diff --git a/src/screen.c b/src/screen.c
index de405e1..ac531d4 100644
--- a/src/screen.c
+++ b/src/screen.c
@@ -4715,6 +4715,10 @@
ScreenLinesUC[off] = 0;
#endif
++col;
+ if (draw_color_col)
+ draw_color_col = advance_color_col(VCOL_HLC,
+ &color_cols);
+
if (wp->w_p_cuc && VCOL_HLC == (long)wp->w_virtcol)
ScreenAttrs[off++] = hl_attr(HLF_CUC);
else if (draw_color_col && VCOL_HLC == *color_cols)
@@ -4725,10 +4729,6 @@
if (VCOL_HLC >= rightmost_vcol)
break;
- if (draw_color_col)
- draw_color_col = advance_color_col(VCOL_HLC,
- &color_cols);
-
++vcol;
}
}