mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
f17426d697
commit
1e327c3f2b
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user