mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Guile2 : replace deprecated SCM_LENGTH
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22672 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
59e978eedb
commit
40fd5ccd5c
@ -1050,7 +1050,7 @@ gnc_trans_scm_get_num_splits(SCM trans_scm)
|
||||
if (!scm_is_list(result))
|
||||
return 0;
|
||||
|
||||
return SCM_LENGTH(result);
|
||||
return scm_to_int(scm_length(result));
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user