aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ft_draw_verline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_draw_verline.c b/src/ft_draw_verline.c
index d526b6a..de54a3a 100644
--- a/src/ft_draw_verline.c
+++ b/src/ft_draw_verline.c
@@ -46,7 +46,7 @@ int8_t
(y < 0) ? (y = 0) : 0;
(y2 < 0) ? (y2 = 0) : 0;
ft_draw_ceil(cl, y, x);
- while (y < y2)
+ while (y <= y2)
{
d = y * 256 - cl->wlist->y_size * 128 + cl->rlist.line_h * 128;
d = (d <= 0) ? (-d) : (d);