From fc2b7b1879ddbcd7b2257fae93ba006a9e818292 Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Wed, 19 Jul 2000 00:56:28 +0000 Subject: [PATCH] Go back to reversing the signs of fv again -- which way is right?? git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2597 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/gnome/dialog-fincalc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gnome/dialog-fincalc.c b/src/gnome/dialog-fincalc.c index 3bf231d9c4..1b05d4c3c5 100644 --- a/src/gnome/dialog-fincalc.c +++ b/src/gnome/dialog-fincalc.c @@ -135,7 +135,7 @@ fi_to_gui(FinCalcDialog *fcd) xaccSPrintAmount(string, fcd->financial_info.pmt, 0, NULL); gtk_entry_set_text(GTK_ENTRY(fcd->entries[PERIODIC_PAYMENT]), string); - xaccSPrintAmount(string, fcd->financial_info.fv, 0, NULL); + xaccSPrintAmount(string, -fcd->financial_info.fv, 0, NULL); gtk_entry_set_text(GTK_ENTRY(fcd->entries[FUTURE_VALUE]), string); i = normalize_period(&fcd->financial_info.CF); @@ -179,7 +179,7 @@ gui_to_fi(FinCalcDialog *fcd) fcd->financial_info.pmt = xaccParseAmount(string, TRUE); string = gtk_entry_get_text(GTK_ENTRY(fcd->entries[FUTURE_VALUE])); - fcd->financial_info.fv = xaccParseAmount(string, TRUE); + fcd->financial_info.fv = -xaccParseAmount(string, TRUE); i = gnc_option_menu_get_active(fcd->compounding_menu); fcd->financial_info.CF = periods[i];