mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
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…
Reference in New Issue
Block a user