From 34bb9e67a41379ca6492e0b90cac16a1fb551a67 Mon Sep 17 00:00:00 2001 From: Linas Vepstas Date: Wed, 18 Mar 1998 09:45:54 +0000 Subject: [PATCH] fixes for a core dump git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@669 57a11ea4-9604-0410-9ed3-97b8803252fd --- src/Ledger.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Ledger.c b/src/Ledger.c index c0edee535f..0a3591ad34 100644 --- a/src/Ledger.c +++ b/src/Ledger.c @@ -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));