default to % for discount and tax interpretation types

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6691 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Derek Atkins 2002-02-05 20:27:10 +00:00
parent 8a96da9c0d
commit a90bed0151

View File

@ -108,6 +108,8 @@ GncEntry *gncEntryCreate (GNCBook *book)
gncEntrySetTax (entry, zero);
gncEntrySetDiscount (entry, zero);
}
entry->tax_type = GNC_ENTRY_INTERP_PERCENT;
entry->disc_type = GNC_ENTRY_INTERP_PERCENT;
entry->dirty = FALSE;
xaccGUIDNew (&entry->guid, book);