summaryrefslogtreecommitdiffstats
path: root/xlib/xgc.c
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)
commit677efb49e66dded5f3db56da9137d51531e1f1a2 (patch)
tree0813f98f58809b7eb85d9b12b37124e92674bb89 /xlib/xgc.c
parent63b6554668963fa5a4b94cd64931e556ad154fcb (diff)
downloadtk-677efb49e66dded5f3db56da9137d51531e1f1a2.zip
tk-677efb49e66dded5f3db56da9137d51531e1f1a2.tar.gz
tk-677efb49e66dded5f3db56da9137d51531e1f1a2.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/xgc.c')
-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