From 5cac7c6f8743714a17f26f7ee86244e38aa37a45 Mon Sep 17 00:00:00 2001 From: buliabyak Date: Wed, 11 Apr 2007 04:24:53 +0000 Subject: [PATCH] use correct isNaN --- src/dyna-draw-context.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); } -- 2.30.2