google-code-export / google-gadgets-for-linux

Automatically exported from code.google.com/p/google-gadgets-for-linux
0 stars 0 forks source link

A regression in 0.9.2 which causes wrong rendering result of weather globle. #137

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The problem is caused by this change:

--- basic_element.cc.orig   2008-06-08 00:46:28.000000000 +0800
+++ basic_element.cc    2008-06-08 00:51:50.000000000 +0800
@@ -1809,8 +1809,7 @@
     return PR_UNSPECIFIED;

   if (input.ConvertToDouble(output))
-    return (std::isnan(*output) || std::isinf(*output)) ?
-           PR_UNSPECIFIED : PR_PIXEL;
+    return PR_PIXEL;

   if (!input.ConvertToString(&str) || str.empty())
     return PR_UNSPECIFIED;

I'm looking into it.

Original issue reported on code.google.com by james...@gmail.com on 7 Jun 2008 at 4:52

GoogleCodeExporter commented 9 years ago

Original comment by james...@gmail.com on 7 Jun 2008 at 4:52

GoogleCodeExporter commented 9 years ago
Should be fixed in 0.9.3. Please reopen if not.

Original comment by james...@gmail.com on 13 Jun 2008 at 2:16