Verified Commit e12966cc authored by Thomas Klausner's avatar Thomas Klausner Committed by Marc Jeanmougin
Browse files

Fix "isnan not defined" error by adding std:: prefix

parent f7162ba3
......@@ -772,7 +772,7 @@ feed_curve_to_cairo(cairo_t *cr, Geom::Curve const &c, Geom::Affine const & tran
} else {
Geom::Affine xform = arc->unitCircleTransform() * trans;
// Don't draw anything if the angle is borked
if(isnan(arc->initialAngle()) || isnan(arc->finalAngle())) {
if(std::isnan(arc->initialAngle()) || std::isnan(arc->finalAngle())) {
g_warning("Bad angle while drawing EllipticalArc");
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment