From: mental Date: Wed, 24 Jan 2007 03:35:35 +0000 (+0000) Subject: heh, bool to begin with X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=fb3263cd70207b96bb4108cb1af9d5783b41426b;p=inkscape.git heh, bool to begin with --- diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp index 38cc924c8..6ab497116 100644 --- a/src/sp-ellipse.cpp +++ b/src/sp-ellipse.cpp @@ -680,8 +680,8 @@ sp_arc_set_elliptical_path_attribute(SPArc *arc, Inkscape::XML::Node *repr) .arcTo(rx, ry, 0, true, true, p2) .closePath(); } else { - bool fa = (fabs(dt) > M_PI) ? 1 : 0; - bool fs = (dt > 0) ? 1 : 0; + bool fa = (fabs(dt) > M_PI); + bool fs = (dt > 0); str.arcTo(rx, ry, 0, fa, fs, p2); if (ge->closed) { NR::Point center = NR::Point(ge->cx.computed, ge->cy.computed);