diff --git a/src/engine/Account.h b/src/engine/Account.h index 49f1a1fc8a..abcb4a1d90 100644 --- a/src/engine/Account.h +++ b/src/engine/Account.h @@ -39,7 +39,7 @@ void xaccFreeAccount( Account * ); /* * The xaccAccountBeginEdit() and xaccAccountCommitEdit() subroutines - * provide a pseudo-two-phase-commit wrapper for account updates. + * provide a psuedo-two-phase-commit wrapper for account updates. * They are mildly useful for detecting attempted updates outside * of thier scope. However, they do not provide any true two-phase-anything * in the current implementation. diff --git a/src/engine/Group.h b/src/engine/Group.h index aa2941b388..e695b8adeb 100644 --- a/src/engine/Group.h +++ b/src/engine/Group.h @@ -105,11 +105,13 @@ int xaccGroupGetDepth (AccountGroup *grp); * * The xaccGetAccountFromName() subroutine fetches the * account by name from the collection of accounts - * in the indicated AccountGroup group. + * in the indicated AccountGroup group. It returns NULL if the + * account was not found. * * The xaccGetPeerAccountFromName() subroutine fetches the * account by name from the collection of accounts - * in the same AccountGroup anchor group. + * in the same AccountGroup anchor group. It returns NULL if the + * account was not found. */ Account *xaccGetAccountFromID (AccountGroup *, int);