[gcalctool/vala] Fix financial



commit 0597935abc5432a11bf245620ac1083fea23b35e
Author: Robert Ancell <robert ancell canonical com>
Date:   Fri Oct 12 22:00:05 2012 +1300

    Fix financial

 src/math-buttons.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/math-buttons.vala b/src/math-buttons.vala
index fb970cc..7b9c47f 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -908,7 +908,7 @@ public class MathButtons : Gtk.Box
             break;
         }
 
-        Number arg[4] = { null, null, null, null };
+        Number arg[4] = { new Number.integer (0), new Number.integer (0), new Number.integer (0), new Number.integer (0) };
         for (var i = 0; i < entries.length; i++)
         {
             var entry = financial_ui.get_object (entries[i]) as Gtk.Entry;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]