mirror of
https://github.com/Gnucash/gnucash.git
synced 2024-12-02 05:29:20 -06:00
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:
parent
5cd602e0da
commit
ee19a5e7e9
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user