summaryrefslogtreecommitdiffstats
path: root/generic/tkCanvArc.c
diff options
context:
space:
mode:
authorrjohnson <rjohnson>1998-07-27 17:20:34 (GMT)
committerrjohnson <rjohnson>1998-07-27 17:20:34 (GMT)
commit2b8f26c383b0c0cb88cc7929e482f18657606047 (patch)
tree901eb4410243afd38f2e582d98eeb4c57a631bdd /generic/tkCanvArc.c
parent51fefcb087db39ad41670fc6b1f82dafa78deda1 (diff)
downloadtk-2b8f26c383b0c0cb88cc7929e482f18657606047.zip
tk-2b8f26c383b0c0cb88cc7929e482f18657606047.tar.gz
tk-2b8f26c383b0c0cb88cc7929e482f18657606047.tar.bz2
fixed how bbox was calculated for coords
Diffstat (limited to 'generic/tkCanvArc.c')
-rw-r--r--generic/tkCanvArc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c
index 26b62e7..5ac7961 100644
--- a/generic/tkCanvArc.c
+++ b/generic/tkCanvArc.c
@@ -545,7 +545,7 @@ ComputeArcBbox(canvas, arcPtr)
TkIncludePoint((Tk_Item *) arcPtr, arcPtr->center2);
center[0] = (arcPtr->bbox[0] + arcPtr->bbox[2])/2;
center[1] = (arcPtr->bbox[1] + arcPtr->bbox[3])/2;
- if (arcPtr->style != arcUid) {
+ if (arcPtr->style == pieSliceUid) {
TkIncludePoint((Tk_Item *) arcPtr, center);
}