r13844 - gnucash/trunk/src/register/ledger-core - Another crack at fixing bug #327780.

Chris Shoemaker chris at cvs.gnucash.org
Mon Apr 24 18:35:34 EDT 2006


Author: chris
Date: 2006-04-24 18:35:33 -0400 (Mon, 24 Apr 2006)
New Revision: 13844
Trac: http://svn.gnucash.org/trac/changeset/13844

Modified:
   gnucash/trunk/src/register/ledger-core/split-register.c
Log:
   Another crack at fixing bug #327780.  

   Simplify the control flow around the code in gnc_split_register_save() that
   decides what transactions to commit and when.  Be sure to commit the 
   blank transaction even when it's not the pending transaction.  Refresh the
   register after transaction rollback.

   Add more assertions that will either fail in some case I haven't tested or
   prove that more register code is unreachable.




More information about the gnucash-patches mailing list