From aa47df79300d6be880f75919dd197be5315614f0 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Wed, 5 Dec 2001 07:04:46 +0000 Subject: [PATCH] bug fix for account twinning code git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6252 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/engine/Account.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/engine/Account.c b/src/engine/Account.c index 1e2ab7c272..ecc6daea63 100644 --- a/src/engine/Account.c +++ b/src/engine/Account.c @@ -213,7 +213,7 @@ xaccAccountLookupTwin (Account *acc, GNCBook *book) if (!acc || !book) return NULL; ENTER (" "); - v_ncopies = kvp_frame_get_slot_path (acc->kvp_data, "gemini", "ncopies"); + v_ncopies = kvp_frame_get_slot_path (acc->kvp_data, "gemini", "ncopies", NULL); if (!v_ncopies) return NULL; ncopies = kvp_value_get_gint64 (v_ncopies); for (i=0; ikvp_data, - "gemini", buff, "book_guid"); + "gemini", buff, "book_guid", NULL); if (!v_book_guid) continue; book_guid = kvp_value_get_guid (v_book_guid); @@ -235,7 +235,7 @@ xaccAccountLookupTwin (Account *acc, GNCBook *book) kvp_value *v_acct_guid; v_acct_guid = kvp_frame_get_slot_path (acc->kvp_data, - "gemini", buff, "acct_guid"); + "gemini", buff, "acct_guid", NULL); if (!v_acct_guid) return NULL; acct_guid = kvp_value_get_guid (v_acct_guid);