git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1879 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1999-08-04 05:03:26 +00:00
parent d0b702ce71
commit 73c3a3e364
3 changed files with 9 additions and 9 deletions

View File

@ -393,8 +393,8 @@ xaccAccountRemoveSplit ( Account *acc, Split *split )
* The way the computation is done depends on whether the partial
* balances are for a monetary account (bank, cash, etc.) or a
* certificate account (stock portfolio, mutual fund). For bank
* accounts, the invarient amount is the dollar amount. For share
* accounts, the invarient amount is the number of shares. For
* accounts, the invariant amount is the dollar amount. For share
* accounts, the invariant amount is the number of shares. For
* share accounts, the share price fluctuates, and the current
* value of such an account is the number of shares times the current
* share price.
@ -448,8 +448,8 @@ xaccAccountRecomputeBalance( Account * acc )
dreconciled_balance += amt * (split->share_price);
}
/* For bank accounts, the invarient subtotal is the dollar
* amount. For stock accoounts, the invarient is the share amount */
/* For bank accounts, the invariant subtotal is the dollar
* amount. For stock accounts, the invariant is the share amount */
if ( (STOCK == acc->type) || ( MUTUAL == acc->type) ) {
split -> share_balance = share_balance;
split -> share_cleared_balance = share_cleared_balance;
@ -859,8 +859,8 @@ xaccConsolidateTransactions (Account * acc)
if (retval) continue;
/* OK, looks like the two splits are a matching pair.
* Blow one of them, and its entie associated transaction, away.
* (We blow away the trasnaction because not only do the splits
* Blow one of them, and its entire associated transaction, away.
* (We blow away the transaction because not only do the splits
* match, but so do all of thier partner-splits. )
*/

View File

@ -155,8 +155,8 @@ static int writeTSDate( int fd, Timespec *);
* of account type. These numbers are used (are to be
* used) no where else but here, precisely because they
* are non-portable. The values of these defines MUST
* NOT BE CHANGED; andy changes WILL BREAK FILE COMPATIBILITY.
* YOu HAve BEen WARNed!!!!
* NOT BE CHANGED; ANY CHANGES WILL BREAK FILE COMPATIBILITY.
* YOU HAVE BEEN WARNED!!!!
*/
#define FF_BANK 0

View File

@ -462,7 +462,7 @@ xaccSplitSetBaseValue (Split *s, double value, char * base_currency)
{
if (!s) return;
/* ahh -- stupid users may not want or use the double entry
/* Novice/casual users may not want or use the double entry
* features of this engine. So, in particular, there
* may be the occasional split without a parent account.
* Well, that's ok, we'll just go with the flow.