CVS update: gnucash/src/register/ledger-core

Derek Atkins warlord@linas.org
Tue, 3 Dec 2002 17:34:51 -0600 (CST)


Date:	Tuesday December 3, 2002 @ 17:34
Author:	warlord

Update of /home/cvs/cvsroot/gnucash/src/register/ledger-core
In directory www.linas.org:/tmp/cvs-serv8244/src/register/ledger-core

Modified Files:
	split-register-control.c split-register-p.h split-register.c 
Log Message:
	* src/register/ledger-core/split-register-control.c:
	  export the 'handle_exchange()' interface
	* src/register/ledger-core/split-register-p.h:
	  add the 'handle_exchange()' prototype
	* src/register/ledger-core/split-register.c:
	  call handle_exchange() from the save() function to make sure we
	  have an exchange rate if the user hits "Enter" instead of
	  tabbing off the end.  For the record, the logic of the register
	  is HORRIBLE, in that there are multiple code paths to deal with
	  moving the "current location" depending on _how_ you move!  This
	  is awful, and means you need a lot of duplicated code to deal
	  with all the different corner cases.  Someone should re-write
	  this all.