bug fixes from Jon K}re Hellan

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1227 57a11ea4-9604-0410-9ed3-97b8803252fd
zzzoldfeatures/xacc-12-patch
Linas Vepstas 28 years ago
parent b0a3368ebc
commit eed0d5e634

@ -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];

Loading…
Cancel
Save