[gnome-calculator] Fix syd calculation



commit 04d6eea350c5c1cbd31487f6fef45d268214aeb8
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 18 17:09:45 2015 -0400

    Fix syd calculation
    
    Actually pass all four parameters to the function, otherwise
    bad results are produced...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=755243

 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 43a1c17..1207eff 100644
--- a/src/math-buttons.vala
+++ b/src/math-buttons.vala
@@ -89,7 +89,7 @@ public class MathButtons : Gtk.Box
     private const string[] pv_entries = {"pv_pmt", "pv_pint", "pv_n"};
     private const string[] rate_entries = {"rate_fv", "rate_pv", "rate_n"};
     private const string[] sln_entries = {"sln_cost", "sln_salvage", "sln_life"};
-    private const string[] syd_entries = {"syd_cost", "syd_salvage", "syd_life"};
+    private const string[] syd_entries = {"syd_cost", "syd_salvage", "syd_life", "syd_period" };
     private const string[] term_entries = {"term_pmt","term_fv", "term_pint"};
 
     public MathButtons (MathEquation equation)


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