From fb3263cd70207b96bb4108cb1af9d5783b41426b Mon Sep 17 00:00:00 2001 From: mental Date: Wed, 24 Jan 2007 03:35:35 +0000 Subject: [PATCH] heh, bool to begin with --- src/sp-ellipse.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5