* the Euroland currency rates were inverted in the transfer

dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@8068 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2003-03-13 03:46:42 +00:00
parent ee167fef7b
commit 1ac9e472d1
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2003-03-12 Derek Atkins <derek@ihtfp.com>
* the Euroland currency rates were inverted in the transfer
dialog.
2003-03-11 Derek Atkins <derek@ihtfp.com>
* src/scm/main-window.scm: turn off the report-total by default

View File

@ -227,7 +227,7 @@ gnc_xfer_dialog_set_price_auto (XferDialog *xferData,
if (gnc_numeric_zero_p (from_rate) || gnc_numeric_zero_p (to_rate))
gnc_xfer_dialog_update_price (xferData);
price = gnc_numeric_div (from_rate, to_rate, GNC_DENOM_AUTO,
price = gnc_numeric_div (to_rate, from_rate, GNC_DENOM_AUTO,
GNC_DENOM_SIGFIGS(6) | GNC_RND_ROUND);
gnc_amount_edit_set_amount (GNC_AMOUNT_EDIT(xferData->price_edit), price);