r18430 - gnucash/trunk/src/libqof/qof - Temporary workaround for crash at startup after r18429.
Christian Stimming
cstim at code.gnucash.org
Fri Nov 20 16:12:21 EST 2009
Author: cstim
Date: 2009-11-20 16:12:21 -0500 (Fri, 20 Nov 2009)
New Revision: 18430
Trac: http://svn.gnucash.org/trac/changeset/18430
Modified:
gnucash/trunk/src/libqof/qof/qofbook.c
Log:
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*
<unnamed port>: In expression gnc:*book-label*:
<unnamed port>: Unbound variable: gnc:*book-label*
Modified: gnucash/trunk/src/libqof/qof/qofbook.c
===================================================================
--- gnucash/trunk/src/libqof/qof/qofbook.c 2009-11-20 20:11:03 UTC (rev 18429)
+++ gnucash/trunk/src/libqof/qof/qofbook.c 2009-11-20 21:12:21 UTC (rev 18430)
@@ -462,8 +462,8 @@
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");
More information about the gnucash-changes
mailing list