summaryrefslogtreecommitdiffstats
path: root/xlib/xdraw.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlib/xdraw.c')
-rw-r--r--xlib/xdraw.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/xlib/xdraw.c b/xlib/xdraw.c
index 46eee3e..8523df7 100644
--- a/xlib/xdraw.c
+++ b/xlib/xdraw.c
@@ -1,4 +1,4 @@
-/*
+/*
* xdraw.c --
*
* This file contains generic procedures related to X drawing
@@ -17,7 +17,7 @@
*
* XDrawLine --
*
- * Draw a single line between two points in a given drawable.
+ * Draw a single line between two points in a given drawable.
*
* Results:
* None.
@@ -42,7 +42,6 @@ XDrawLine(display, d, gc, x1, y1, x2, y2)
points[1].x = x2;
points[1].y = y2;
return XDrawLines(display, d, gc, points, 2, CoordModeOrigin);
- return 0;
}
/*
@@ -78,5 +77,4 @@ XFillRectangle(display, d, gc, x, y, width, height)
rectangle.width = width;
rectangle.height = height;
return XFillRectangles(display, d, gc, &rectangle, 1);
- return 0;
}