diff options
author | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-29 15:23:25 (GMT) |
---|---|---|
committer | nijtmans@users.sourceforge.net <jan.nijtmans> | 2012-05-29 15:23:25 (GMT) |
commit | f31f1c2e93ea262f57ff94c1a7434e70b7682eee (patch) | |
tree | 395ef36a3124aa88061682c8f522fe266d2fb73a /xlib/xdraw.c | |
parent | 4d1fdf3835f593b08205dc077ce91f707fd5ed5c (diff) | |
parent | 6936dd4b22d7a07ccf86b62109d18fd643cf927c (diff) | |
download | tk-f31f1c2e93ea262f57ff94c1a7434e70b7682eee.zip tk-f31f1c2e93ea262f57ff94c1a7434e70b7682eee.tar.gz tk-f31f1c2e93ea262f57ff94c1a7434e70b7682eee.tar.bz2 |
merge core-8-4-branch
Diffstat (limited to 'xlib/xdraw.c')
-rw-r--r-- | xlib/xdraw.c | 4 |
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; } |