summaryrefslogtreecommitdiff
path: root/graphics.c
diff options
context:
space:
mode:
authorSimon <simon@hardwired.org.uk>2010-08-27 12:01:20 (GMT)
committer Simon <simon@hardwired.org.uk>2010-08-27 12:01:20 (GMT)
commit07ade7ed72face5ece3408e953198b5ebcf1170c (patch)
treef735724507f4aed5574bda71900c27d3f53437f6 /graphics.c
parent0d25cae647b2d0827c366165257c5e812a8d8ddb (diff)
downloadpowder-07ade7ed72face5ece3408e953198b5ebcf1170c.zip
powder-07ade7ed72face5ece3408e953198b5ebcf1170c.tar.gz
More work
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;