@@ -1200,7 +1200,7 @@ do_destroy (Transaction *trans)
1200
1200
/********************************************************************\
1201
1201
\********************************************************************/
1202
1202
1203
- /* Temporary hack for data consitency */
1203
+ /* Temporary hack for data consistency */
1204
1204
static int scrub_data = 1 ;
1205
1205
void xaccEnableDataScrubbing (void )
1206
1206
{
@@ -1313,13 +1313,13 @@ xaccTransCommitEdit (Transaction *trans)
1313
1313
if (was_trans_emptied (trans ))
1314
1314
qof_instance_set_destroying (trans , TRUE);
1315
1315
1316
- /* Before commiting the transaction, we're gonna enforce certain
1316
+ /* Before committing the transaction, we are going to enforce certain
1317
1317
* constraints. In particular, we want to enforce the cap-gains
1318
1318
* and the balanced lot constraints. These constraints might
1319
1319
* change the number of splits in this transaction, and the
1320
1320
* transaction itself might be deleted. This is also why
1321
1321
* 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
1323
1323
* from under the holder.
1324
1324
*/
1325
1325
if (!qof_instance_get_destroying (trans ) && scrub_data &&
@@ -1328,7 +1328,7 @@ xaccTransCommitEdit (Transaction *trans)
1328
1328
/* If scrubbing gains recurses through here, don't call it again. */
1329
1329
scrub_data = 0 ;
1330
1330
/* 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
1332
1332
* routine also performs a number of other transaction fixes too.
1333
1333
*/
1334
1334
xaccTransScrubImbalance (trans , NULL , NULL );
0 commit comments