g_return[_val]_if_fail is actually an assertion, which is too strong for this flow-control.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12087 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Joshua Sled
2005-12-03 20:45:23 +00:00
parent c68f43b389
commit 097ff058b0
@@ -623,7 +623,8 @@ gnc_split_register_auto_completion (SplitRegister *reg,
BasicCell *cell;
Split *split;
g_return_val_if_fail(reg->do_auto_complete, FALSE);
if (!reg->do_auto_complete)
return FALSE;
blank_split = xaccSplitLookup (&info->blank_split_guid,
gnc_get_current_book ());