From 68d526099c287d678e47597bb084cc67f75f104d Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Mon, 19 Jul 1999 03:26:25 +0000 Subject: [PATCH] bug fix from Per Bojsen git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1818 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/Transaction.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/engine/Transaction.c b/src/engine/Transaction.c index 5521d4f2c4..eca84de9da 100644 --- a/src/engine/Transaction.c +++ b/src/engine/Transaction.c @@ -616,14 +616,15 @@ FindCommonCurrency (Split **slist, char * ra, char * rb) while (s) { char *sa, *sb; - /* ahh -- stupid users may not want or use the double entry - * features of this engine. So, in particular, there + /* Novice/casual users may not want or use the double entry + * features of this engine. Because of this, there * may be the occasional split without a parent account. * Well, that's ok, we'll just go with the flow. */ if (force_double_entry) { assert (s->acc); - } else { + } else + if (NULL == s->acc) { i++; s=slist[i]; continue; }