summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/libvgl/simple.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libvgl/simple.c b/lib/libvgl/simple.c
index 3961aa0..036d8ee 100644
--- a/lib/libvgl/simple.c
+++ b/lib/libvgl/simple.c
@@ -242,8 +242,8 @@ VGLLine(VGLBitmap *object, int x1, int y1, int x2, int y2, u_long color)
if (x1 > x2) { /* start from the smaller coordinate */
x = x2;
y = y2;
- x1 = x1;
- y1 = y1;
+/* x1 = x1;
+ y1 = y1; */
} else {
x = x1;
y = y1;
OpenPOWER on IntegriCloud