From 53b8443e7c09231843f5d57e75467f37fb392776 Mon Sep 17 00:00:00 2001 From: Derek Atkins Date: Fri, 6 Dec 2002 01:17:32 +0000 Subject: [PATCH] Add a comment. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7627 57a11ea4-9604-0410-9ed3-97b8803252fd --- ChangeLog | 2 +- src/register/ledger-core/split-register-control.c | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 1c9a985212..6f2451b91d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -11,7 +11,7 @@ "read-only" registers * src/register/ledger-core/split-register-control.c -- fix the logic for when we pop-up the exchange-rate dialog, in particular when the - user requests it. + user requests it. Fixes #100285 2002-12-04 David Hampton diff --git a/src/register/ledger-core/split-register-control.c b/src/register/ledger-core/split-register-control.c index f9e282a9f3..4cbfd25486 100644 --- a/src/register/ledger-core/split-register-control.c +++ b/src/register/ledger-core/split-register-control.c @@ -1065,6 +1065,7 @@ gnc_split_register_handle_exchange (SplitRegister *reg, gboolean force_dialog) /* If we're forcing, then compare the current account * commodity to the transaction commodity. + * XXX: we only need to do this for two-split, basic, non-expanded registers */ xfer_acc = gnc_split_register_get_default_account (reg);