git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1120 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-09-09 05:15:43 +00:00
parent da202a1f85
commit e239a62625

View File

@ -787,6 +787,7 @@ xaccSRLoadRegister (SplitRegister *reg, Split **slist,
table->move_cursor = NULL;
xaccMoveCursorGUI (table, -1, -1);
/* resize the table to the sizes we just counted above */
/* num_virt_cols is always one. */
xaccSetTableSize (table, reg->num_phys_rows, reg->num_cols,
reg->num_virt_rows, 1);
@ -840,10 +841,10 @@ printf ("load trans %d at phys row %d \n", i, phys_row);
secondary = xaccTransGetSplit (trans, j);
if (secondary != split) {
printf ("load split %d at phys row %d \n", j, phys_row);
xaccSetCursor (table, reg->split_cursor, phys_row, 0, vrow, 0);
xaccMoveCursor (table, phys_row, 0);
xaccSRLoadSplitEntry (reg, secondary, 1);
printf ("load split %d at phys row %d addr=%p \n", j, phys_row, secondary);
vrow ++;
phys_row += reg->split_cursor->numRows;
}