mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
fixes for a core dump
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@669 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
f94f5318ad
commit
34bb9e67a4
@ -264,7 +264,7 @@ printf ("load reg of %d entries --------------------------- \n",i);
|
||||
phys_row += i * (reg->cursor->numRows);
|
||||
|
||||
/* i+1 because header is virt row zero */
|
||||
xaccSetCursor (table, reg->cursor, phys_row, 0, i+1, 1);
|
||||
xaccSetCursor (table, reg->cursor, phys_row, 0, i+1, 0);
|
||||
xaccMoveCursor (table, phys_row, 0);
|
||||
xaccLoadRegEntry (reg, split);
|
||||
|
||||
@ -278,7 +278,7 @@ printf ("load reg of %d entries --------------------------- \n",i);
|
||||
|
||||
phys_row = reg->header->numRows;
|
||||
phys_row += i * (reg->cursor->numRows);
|
||||
xaccSetCursor (table, reg->cursor, phys_row, 0, i+1, 1);
|
||||
xaccSetCursor (table, reg->cursor, phys_row, 0, i+1, 0);
|
||||
xaccMoveCursor (table, phys_row, 0);
|
||||
|
||||
xaccLoadRegEntry (reg, &(trans->source_split));
|
||||
|
Loading…
Reference in New Issue
Block a user