summaryrefslogtreecommitdiff
path: root/package/firefox/patches/patch-content_canvas_src_nsCanvasRenderingContext2D_cpp
blob: 9a49b3cd67b08dbad84226d9e83e224dd84d9064 (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-06-15 20:26:00.226952311 +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
 }