diff options
author | fvogel <fvogelnew1@free.fr> | 2019-01-21 07:06:14 (GMT) |
---|---|---|
committer | fvogel <fvogelnew1@free.fr> | 2019-01-21 07:06:14 (GMT) |
commit | 8550ff36184d6cbc3f17c5ed7843337b6cc2349e (patch) | |
tree | 0ab97ad6b49d6f56a353ffb1c12ae602dc3fdf0b /generic/tkCanvArc.c | |
parent | 90392917a97c3bf87a24c0e140505197baeb8518 (diff) | |
download | tk-8550ff36184d6cbc3f17c5ed7843337b6cc2349e.zip tk-8550ff36184d6cbc3f17c5ed7843337b6cc2349e.tar.gz tk-8550ff36184d6cbc3f17c5ed7843337b6cc2349e.tar.bz2 |
Fix formatting
Diffstat (limited to 'generic/tkCanvArc.c')
-rw-r--r-- | generic/tkCanvArc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/generic/tkCanvArc.c b/generic/tkCanvArc.c index 07813ea..ead03bf 100644 --- a/generic/tkCanvArc.c +++ b/generic/tkCanvArc.c @@ -476,13 +476,13 @@ ConfigureArc( */ if (arcPtr->height != 0) { int ret = ComputeArcFromHeight(arcPtr); - if (ret != TCL_OK) { - Tcl_SetObjResult(interp, Tcl_ObjPrintf( - "coordinates too close to define a chord")); - Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "ARC", - NULL); - return ret; - } + if (ret != TCL_OK) { + Tcl_SetObjResult(interp, Tcl_ObjPrintf( + "coordinates too close to define a chord")); + Tcl_SetErrorCode(interp, "TK", "CANVAS", "COORDS", "ARC", + NULL); + return ret; + } ComputeArcBbox(canvas, arcPtr); } @@ -806,7 +806,7 @@ ComputeArcBbox( ComputeArcOutline(canvas,arcPtr); /* - * To compute the bounding box, start with the the bbox formed by the two + * To compute the bounding box, start with the bbox formed by the two * endpoints of the arc. Then add in the center of the arc's oval (if * relevant) and the 3-o'clock, 6-o'clock, 9-o'clock, and 12-o'clock * positions, if they are relevant. |