bug fixes from Jon K}re Hellan

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1227 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-09-25 05:56:28 +00:00
parent b0a3368ebc
commit eed0d5e634

View File

@ -431,6 +431,8 @@ xaccRegisterRefresh (SplitRegister *splitreg)
xaccLedgerDisplay *regData;
int n;
if (!fullList) return;
/* find the ledger which contains this register */
n = 0; regData = fullList[n];
while (regData) {
@ -453,6 +455,8 @@ xaccRegisterCountHack (SplitRegister *splitreg)
xaccLedgerDisplay *regData;
int n;
if (!fullList) return;
/* find the ledger which contains this register */
n = 0; regData = fullList[n];
while (regData) {
@ -476,7 +480,7 @@ MarkDirtyAllRegs (Account *acc)
xaccLedgerDisplay *regData;
int n;
if (!acc) return;
if (!acc || !fullList) return;
/* find all registers which contain this account */
n = 0; regData = fullList[n];
@ -498,7 +502,7 @@ RefreshAllRegs (Account *acc)
xaccLedgerDisplay *regData;
int n;
if (!acc) return;
if (!acc || !fullList) return;
/* find all registers which contain this account */
n = 0; regData = fullList[n];