mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
simplify
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6164 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
d9dabbfebc
commit
2fcbda7e6f
@ -51,12 +51,7 @@ gnc_kvp_gemini (kvp_frame *kvp_root, const GUID *acct_guid,
|
|||||||
|
|
||||||
/* cwd == 'current working directory' */
|
/* cwd == 'current working directory' */
|
||||||
pwd = kvp_frame_get_frame (kvp_root, "gemini");
|
pwd = kvp_frame_get_frame (kvp_root, "gemini");
|
||||||
if (!pwd)
|
if (!pwd) return; /* error: can't ever happen */
|
||||||
{
|
|
||||||
pwd = kvp_frame_new();
|
|
||||||
kvp_frame_set_slot_nc (kvp_root,
|
|
||||||
"gemini", kvp_value_new_frame(pwd));
|
|
||||||
}
|
|
||||||
|
|
||||||
/* find, increment, store number of copies */
|
/* find, increment, store number of copies */
|
||||||
v_ncopies = kvp_frame_get_slot (pwd, "ncopies");
|
v_ncopies = kvp_frame_get_slot (pwd, "ncopies");
|
||||||
|
Loading…
Reference in New Issue
Block a user