From: buliabyak Date: Wed, 11 Apr 2007 04:24:53 +0000 (+0000) Subject: use correct isNaN X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=5cac7c6f8743714a17f26f7ee86244e38aa37a45;p=inkscape.git use correct isNaN --- diff --git a/src/dyna-draw-context.cpp b/src/dyna-draw-context.cpp index d1966d248..56890b767 100644 --- a/src/dyna-draw-context.cpp +++ b/src/dyna-draw-context.cpp @@ -963,7 +963,7 @@ sp_dyna_draw_context_root_handler(SPEventContext *event_context, // so _gradually_ let go attraction to prevent jerks target = (dc->hatch_spacing * speed + hatch_dist * (SPEED_NORMAL - speed))/SPEED_NORMAL; } - if (!isnan(dot) && dot < -0.5) {// flip + if (!isNaN(dot) && dot < -0.5) {// flip target = -target; //g_print ("FLIP\n"); }