gnc-budget-lookup, used for getter of budget option, may return '() instead of #f.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16101 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Andreas Köhler 2007-05-19 23:19:39 +00:00
parent f17426d697
commit 1e327c3f2b

View File

@ -2515,7 +2515,7 @@ static gboolean gnc_option_set_ui_value_budget(
GtkTreeModel *tm;
GtkTreeIter iter;
if (value != SCM_BOOL_F) {
if (!SCM_NULLP(value)) {
if (!SWIG_IsPointer(value))
scm_misc_error("gnc_option_set_ui_value_budget",
"Option Value not a wcp.", value);