summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-29 15:23:25 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-05-29 15:23:25 (GMT)
commit7406c9a8caef9c12648532a2e1cdb85f5d3cee25 (patch)
tree395ef36a3124aa88061682c8f522fe266d2fb73a /xlib
parent219ea9cd9810c951271f003d5276fb0c52d9ddce (diff)
parent406db445ef0a95a9d3b5ac77690326f9cc1a07a2 (diff)
downloadtk-7406c9a8caef9c12648532a2e1cdb85f5d3cee25.zip
tk-7406c9a8caef9c12648532a2e1cdb85f5d3cee25.tar.gz
tk-7406c9a8caef9c12648532a2e1cdb85f5d3cee25.tar.bz2
merge core-8-4-branch
Diffstat (limited to 'xlib')
-rw-r--r--xlib/xdraw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xlib/xdraw.c b/xlib/xdraw.c
index 6c405ad..46eee3e 100644
--- a/xlib/xdraw.c
+++ b/xlib/xdraw.c
@@ -41,7 +41,7 @@ XDrawLine(display, d, gc, x1, y1, x2, y2)
points[0].y = y1;
points[1].x = x2;
points[1].y = y2;
- XDrawLines(display, d, gc, points, 2, CoordModeOrigin);
+ return XDrawLines(display, d, gc, points, 2, CoordModeOrigin);
return 0;
}
@@ -77,6 +77,6 @@ XFillRectangle(display, d, gc, x, y, width, height)
rectangle.y = y;
rectangle.width = width;
rectangle.height = height;
- XFillRectangles(display, d, gc, &rectangle, 1);
+ return XFillRectangles(display, d, gc, &rectangle, 1);
return 0;
}