Skip to content

Commit

Permalink
Small corrections in doxygen comments
Browse files Browse the repository at this point in the history
  • Loading branch information
gjanssens committed Sep 2, 2014
1 parent f8a27b7 commit 9cfc22f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
9 changes: 6 additions & 3 deletions src/engine/Scrub2.h
Expand Up @@ -53,7 +53,7 @@
* not in a lot will be used to close the oldest open lot(s).
* If there are no open lots, a new lot will be started.
* By trying to close the oldest lots, this effectively
* implements a FIFO acounting policy.
* implements a FIFO accounting policy.
*/
void xaccAccountAssignLots (Account *acc);

Expand Down Expand Up @@ -94,10 +94,13 @@ void xaccLotScrubDoubleBalance (GNCLot *lot);
*
* The xaccScrubMergeTransSubSplits() routine does the same, except
* that it does it for all of the splits in the transaction.
* The xaccScrubMergeLotSubSplits() routine does the same, except
* that it does it for all of the splits in the lot.
*/
gboolean xaccScrubMergeSubSplits (Split *split);

/** The xaccScrubMergeLotSubSplits() routine does the same as
* the xaccScrubMergSubSplits, except that it does it
* for all of the splits in the lot.
*/
gboolean xaccScrubMergeLotSubSplits (GNCLot *lot);

#endif /* XACC_SCRUB2_H */
Expand Down
4 changes: 2 additions & 2 deletions src/engine/Scrub3.h
Expand Up @@ -25,7 +25,7 @@
@{ */

/** @file Scrub3.h
* @brief Hiogh-Level API for imposing Lot constraints
* @brief High-Level API for imposing Lot constraints
* @author Created by Linas Vepstas Sept 2003
* @author Copyright (c) 2003 Linas Vepstas <linas@linas.org>
*/
Expand All @@ -44,7 +44,7 @@
* self-consistent and properly balanced, and fixes it if its not.
* This is an important routine to call if the amount of any split
* in the lot is changed. That's because (obviously) changing
* split values is gaurenteed to throw off lot balances.
* split values is guaranteed to throw off lot balances.
* This routine may end up closing the lot, or at least trying
* to. It will also cause cap gains to be recomputed.
*
Expand Down
2 changes: 1 addition & 1 deletion src/engine/Transaction.h
Expand Up @@ -207,7 +207,7 @@ void xaccTransRollbackEdit (Transaction *trans);

/** The xaccTransIsOpen() method returns TRUE if the transaction
is open for editing. Otherwise, it returns false.
XXX this routne should probably be deprecated. its, umm,
XXX this routine should probably be deprecated. its, umm,
hard to imagine legitimate uses (but it is used by
the import/export code for reasons I can't understand.)
*/
Expand Down
2 changes: 1 addition & 1 deletion src/gnome-utils/gnc-tree-view.h
Expand Up @@ -259,7 +259,7 @@ gnc_tree_view_add_date_column (GncTreeView *view,
* column used to determine the foreground color of any text in this
* column. It should be used to display negative numbers in red.
* Use GNC_TREE_VIEW_COLUMN_COLOR_NONE if the text in this column
* should always be displayed in black.
* should always be displayed in the default theme color for text.
*
* @param model_visibility_column The index of the GtkTreeModel data
* column used to determine whether or not a checkbox for each row
Expand Down
2 changes: 1 addition & 1 deletion src/register/ledger-core/split-register.h
Expand Up @@ -256,7 +256,7 @@ struct split_register
or split action for number
field in register */
gboolean is_template;
gboolean do_auto_complete; /**< whether to use auto-competion */
gboolean do_auto_complete; /**< whether to use auto-completion */

SRInfo * sr_info; /**< private data; outsiders should not access this */
};
Expand Down

0 comments on commit 9cfc22f

Please sign in to comment.