summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp
blob: bd9eacb42353de4f26beb52e2b769f41d30eea5c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- mozilla-2.0.orig/content/canvas/src/nsCanvasRenderingContext2D.cpp	2011-03-19 00:33:34.000000000 +0100
+++ mozilla-2.0/content/canvas/src/nsCanvasRenderingContext2D.cpp	2011-03-27 22:36:34.953370738 +0200
@@ -159,7 +159,7 @@ DoubleIsFinite(double d)
     // NOTE: '!!' casts an int to bool without spamming MSVC warning C4800.
     return !!_finite(d);
 #else
-    return finite(d);
+    return isfinite(d);
 #endif
 }