bug fix for something that was showing wrong balance

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@990 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-08-12 05:03:39 +00:00
parent a903e3a375
commit dc4c56d28c

View File

@ -390,6 +390,7 @@ void xaccInitSplitRegister (SplitRegister *reg, int type)
BASIC (num, Text, NUM);
FANCY (desc, QuickFill, DESC);
BASIC (recn, Recn, RECN);
FANCY (shrs, Price, SHRS);
FANCY (balance, Price, BALN);
/* set the color of the cells in the transaction cursor */
@ -402,6 +403,7 @@ void xaccInitSplitRegister (SplitRegister *reg, int type)
* the cell default will override ehte cursor
*/
reg->descCell -> cell.bg_color = 0xccccff;
reg->shrsCell -> cell.bg_color = 0xccccff;
reg->balanceCell->cell.bg_color = 0xccccff;
reg->dateCell -> cell.bg_color = 0xccccff;
reg->numCell -> bg_color = 0xccccff;
@ -434,7 +436,6 @@ void xaccInitSplitRegister (SplitRegister *reg, int type)
BASIC (recs, Recn, RECS);
FANCY (credit, Price, CRED);
FANCY (debit, Price, DEBT);
FANCY (shrs, Price, SHRS);
FANCY (price, Price, PRIC);
FANCY (value, Price, VALU);