mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
typos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1120 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
da202a1f85
commit
e239a62625
@ -787,6 +787,7 @@ xaccSRLoadRegister (SplitRegister *reg, Split **slist,
|
|||||||
table->move_cursor = NULL;
|
table->move_cursor = NULL;
|
||||||
xaccMoveCursorGUI (table, -1, -1);
|
xaccMoveCursorGUI (table, -1, -1);
|
||||||
|
|
||||||
|
/* resize the table to the sizes we just counted above */
|
||||||
/* num_virt_cols is always one. */
|
/* num_virt_cols is always one. */
|
||||||
xaccSetTableSize (table, reg->num_phys_rows, reg->num_cols,
|
xaccSetTableSize (table, reg->num_phys_rows, reg->num_cols,
|
||||||
reg->num_virt_rows, 1);
|
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);
|
secondary = xaccTransGetSplit (trans, j);
|
||||||
|
|
||||||
if (secondary != split) {
|
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);
|
xaccSetCursor (table, reg->split_cursor, phys_row, 0, vrow, 0);
|
||||||
xaccMoveCursor (table, phys_row, 0);
|
xaccMoveCursor (table, phys_row, 0);
|
||||||
xaccSRLoadSplitEntry (reg, secondary, 1);
|
xaccSRLoadSplitEntry (reg, secondary, 1);
|
||||||
|
printf ("load split %d at phys row %d addr=%p \n", j, phys_row, secondary);
|
||||||
vrow ++;
|
vrow ++;
|
||||||
phys_row += reg->split_cursor->numRows;
|
phys_row += reg->split_cursor->numRows;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user