summaryrefslogtreecommitdiffstats
path: root/xlib
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-25 10:42:10 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2017-04-25 10:42:10 (GMT)
commita7fd005c062413ddf55c966b2b3c8c449fd3854f (patch)
tree0813f98f58809b7eb85d9b12b37124e92674bb89 /xlib
parent3c0afc0975cf1de43b06ef500d13c5da9f6084d8 (diff)
downloadtk-a7fd005c062413ddf55c966b2b3c8c449fd3854f.zip
tk-a7fd005c062413ddf55c966b2b3c8c449fd3854f.tar.gz
tk-a7fd005c062413ddf55c966b2b3c8c449fd3854f.tar.bz2
Let the unimplemented function XDrawSegments() return BadDrawable in stead of Success: It's only in the stub table since [a0883a07026127ef], before that the function was only internal and returned void.
Diffstat (limited to 'xlib')
-rw-r--r--xlib/xgc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xlib/xgc.c b/xlib/xgc.c
index 78c7501..984c949 100644
--- a/xlib/xgc.c
+++ b/xlib/xgc.c
@@ -560,7 +560,7 @@ XDrawSegments(
XSegment *segments,
int nsegments)
{
- return Success;
+ return BadDrawable;
}
#endif