From 6e779658773234d6b40b7baca1982b676d9d6b7e Mon Sep 17 00:00:00 2001 From: Dave Peticolas Date: Tue, 19 Sep 2000 01:26:57 +0000 Subject: [PATCH] Christian Stimming's patch for editing currency registers. git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2898 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/SplitLedger.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SplitLedger.c b/src/SplitLedger.c index 5ae5a2c2f1..338c57a63d 100644 --- a/src/SplitLedger.c +++ b/src/SplitLedger.c @@ -2667,11 +2667,13 @@ xaccSRSaveChangedCells (SplitRegister *reg, Transaction *trans, Split *split) const char *security = NULL; currency = xaccAccountGetCurrency(new_acc); - currency = xaccTransIsCommonExclSCurrency(trans, currency, split); + currency = xaccTransIsCommonExclSCurrency(trans, + currency, other_split); if (currency == NULL) { security = xaccAccountGetSecurity(new_acc); - security = xaccTransIsCommonExclSCurrency(trans, security, split); + security = xaccTransIsCommonExclSCurrency(trans, + security, other_split); } if ((currency != NULL) || (security != NULL)) {