Skip to content

Commit 8c4fa3a

Browse files
committed
Spelling fixes in comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19545 57a11ea4-9604-0410-9ed3-97b8803252fd
1 parent 85ab99c commit 8c4fa3a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/engine/Transaction.c

+4-4
Original file line numberDiff line numberDiff line change
@@ -1200,7 +1200,7 @@ do_destroy (Transaction *trans)
12001200
/********************************************************************\
12011201
\********************************************************************/
12021202

1203-
/* Temporary hack for data consitency */
1203+
/* Temporary hack for data consistency */
12041204
static int scrub_data = 1;
12051205
void xaccEnableDataScrubbing(void)
12061206
{
@@ -1313,13 +1313,13 @@ xaccTransCommitEdit (Transaction *trans)
13131313
if (was_trans_emptied(trans))
13141314
qof_instance_set_destroying(trans, TRUE);
13151315

1316-
/* Before commiting the transaction, we're gonna enforce certain
1316+
/* Before committing the transaction, we are going to enforce certain
13171317
* constraints. In particular, we want to enforce the cap-gains
13181318
* and the balanced lot constraints. These constraints might
13191319
* change the number of splits in this transaction, and the
13201320
* transaction itself might be deleted. This is also why
13211321
* we can't really enforce these constraints elsewhere: they
1322-
* can cause pointers to splits and transactions to disapear out
1322+
* can cause pointers to splits and transactions to disappear out
13231323
* from under the holder.
13241324
*/
13251325
if (!qof_instance_get_destroying(trans) && scrub_data &&
@@ -1328,7 +1328,7 @@ xaccTransCommitEdit (Transaction *trans)
13281328
/* If scrubbing gains recurses through here, don't call it again. */
13291329
scrub_data = 0;
13301330
/* The total value of the transaction should sum to zero.
1331-
* Call the trans scrub routine to fix it. Indirectly, this
1331+
* Call the trans scrub routine to fix it. Indirectly, this
13321332
* routine also performs a number of other transaction fixes too.
13331333
*/
13341334
xaccTransScrubImbalance (trans, NULL, NULL);

0 commit comments

Comments
 (0)