diff --git a/src/sp-ellipse.cpp b/src/sp-ellipse.cpp
index 38cc924c875f7b41cd3fb48564aee8e1de503aa0..6ab49711607fc6f878ed0e52065a33cbde57726f 100644 (file)
--- a/src/sp-ellipse.cpp
+++ b/src/sp-ellipse.cpp
.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);