From 812c02be0b05e14c38cde41e7de4a1b059c2654d Mon Sep 17 00:00:00 2001 From: Christian Stimming Date: Fri, 20 Nov 2009 21:12:21 +0000 Subject: [PATCH] Temporary workaround for crash at startup after r18429. Before this change, gnucash crashes on start-up with Backtrace: In unknown file: ?: 0* gnc:*book-label* : In expression gnc:*book-label*: : Unbound variable: gnc:*book-label* git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18430 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/libqof/qof/qofbook.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libqof/qof/qofbook.c b/src/libqof/qof/qofbook.c index 7e8077e125..26ff98d6bb 100644 --- a/src/libqof/qof/qofbook.c +++ b/src/libqof/qof/qofbook.c @@ -462,8 +462,8 @@ gboolean qof_book_use_trading_accounts (const QofBook *book) if (options_name == NULL) { options_name = get_scm_string ("(car gnc:*kvp-option-path*)"); - acct_section = get_scm_string ("gnc:*book-label*"); - trading_opt = get_scm_string ("gnc:*trading-accounts*"); + //acct_section = get_scm_string ("gnc:*book-label*"); + //trading_opt = get_scm_string ("gnc:*trading-accounts*"); if (options_name == NULL || acct_section == NULL || trading_opt == NULL) { PWARN ("Unable to find trading account preference");