mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Revert pricedb lookup at warlord's request.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7728 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
dbea4cd3e3
commit
d50d024987
@ -1,3 +1,8 @@
|
|||||||
|
2002-12-28 David Hampton <hampton@employees.org>
|
||||||
|
|
||||||
|
* src/gnome-utils/dialog-transfer.c: Revert pricedb lookup at
|
||||||
|
warlord's request.
|
||||||
|
|
||||||
2002-12-28 Christian Stimming <stimming@tuhh.de>
|
2002-12-28 Christian Stimming <stimming@tuhh.de>
|
||||||
|
|
||||||
* src/scm/main.scm: Patch by Peter O'Gorman <peter@pogma.com> for
|
* src/scm/main.scm: Patch by Peter O'Gorman <peter@pogma.com> for
|
||||||
|
@ -1461,12 +1461,12 @@ gnc_xfer_dialog_ok_cb(GtkWidget * widget, gpointer data)
|
|||||||
GList *prices;
|
GList *prices;
|
||||||
|
|
||||||
/* First see if an entry exists at time ts */
|
/* First see if an entry exists at time ts */
|
||||||
prices = gnc_pricedb_lookup_day (xferData->pricedb, from, to, ts);
|
prices = gnc_pricedb_lookup_at_time (xferData->pricedb, from, to, ts);
|
||||||
if (prices) {
|
if (prices) {
|
||||||
PINFO("Found price for %s in %s", gnc_commodity_get_mnemonic(from),
|
PINFO("Found price for %s in %s", gnc_commodity_get_mnemonic(from),
|
||||||
gnc_commodity_get_mnemonic(to));
|
gnc_commodity_get_mnemonic(to));
|
||||||
} else {
|
} else {
|
||||||
prices = gnc_pricedb_lookup_day (xferData->pricedb, to, from, ts);
|
prices = gnc_pricedb_lookup_at_time (xferData->pricedb, to, from, ts);
|
||||||
if (prices) {
|
if (prices) {
|
||||||
PINFO("Found reverse price for %s in %s", gnc_commodity_get_mnemonic(to),
|
PINFO("Found reverse price for %s in %s", gnc_commodity_get_mnemonic(to),
|
||||||
gnc_commodity_get_mnemonic(from));
|
gnc_commodity_get_mnemonic(from));
|
||||||
|
Loading…
Reference in New Issue
Block a user