summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics.c')
-rw-r--r--graphics.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics.c b/graphics.c
index 2112183..226a984 100644
--- a/graphics.c
+++ b/graphics.c
@@ -976,8 +976,8 @@ void draw_line(pixel *vid, int x1, int y1, int x2, int y2, int r, int g, int b,
dx = abs(x1-x2);
dy = abs(y1-y2);
- sx = sign(x2-x1);
- sy = sign(y2-y1);
+ sx = isign(x2-x1);
+ sy = isign(y2-y1);
x = x1;
y = y1;
check = 0;