changes to extend date handling

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1466 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-12-21 00:12:13 +00:00
parent 5cd602e0da
commit ee19a5e7e9

View File

@ -542,7 +542,6 @@ static void
xaccSRLoadTransEntry (SplitRegister *reg, Split *split, int do_commit)
{
char buff[2];
time_t secs;
double baln;
int typo = reg->type & REG_TYPE_MASK;
/* int style = reg->type & REG_STYLE_MASK; */
@ -571,12 +570,13 @@ xaccSRLoadTransEntry (SplitRegister *reg, Split *split, int do_commit)
xaccSetPriceCellValue (reg->valueCell, 0.0);
} else {
long long secs;
double amt;
char * accname=NULL;
Transaction *trans = xaccSplitGetParent (split);
secs = xaccTransGetDate (trans);
xaccSetDateCellValueSecs (reg->dateCell, secs);
secs = xaccTransGetDateL (trans);
xaccSetDateCellValueSecsL (reg->dateCell, secs);
xaccSetBasicCellValue (reg->numCell, xaccTransGetNum (trans));
xaccSetQuickFillCellValue (reg->descCell, xaccTransGetDescription (trans));