mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Spelling fixes in comments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19545 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
85ab99c858
commit
8c4fa3a192
@ -1200,7 +1200,7 @@ do_destroy (Transaction *trans)
|
|||||||
/********************************************************************\
|
/********************************************************************\
|
||||||
\********************************************************************/
|
\********************************************************************/
|
||||||
|
|
||||||
/* Temporary hack for data consitency */
|
/* Temporary hack for data consistency */
|
||||||
static int scrub_data = 1;
|
static int scrub_data = 1;
|
||||||
void xaccEnableDataScrubbing(void)
|
void xaccEnableDataScrubbing(void)
|
||||||
{
|
{
|
||||||
@ -1313,13 +1313,13 @@ xaccTransCommitEdit (Transaction *trans)
|
|||||||
if (was_trans_emptied(trans))
|
if (was_trans_emptied(trans))
|
||||||
qof_instance_set_destroying(trans, TRUE);
|
qof_instance_set_destroying(trans, TRUE);
|
||||||
|
|
||||||
/* Before commiting the transaction, we're gonna enforce certain
|
/* Before committing the transaction, we are going to enforce certain
|
||||||
* constraints. In particular, we want to enforce the cap-gains
|
* constraints. In particular, we want to enforce the cap-gains
|
||||||
* and the balanced lot constraints. These constraints might
|
* and the balanced lot constraints. These constraints might
|
||||||
* change the number of splits in this transaction, and the
|
* change the number of splits in this transaction, and the
|
||||||
* transaction itself might be deleted. This is also why
|
* transaction itself might be deleted. This is also why
|
||||||
* we can't really enforce these constraints elsewhere: they
|
* we can't really enforce these constraints elsewhere: they
|
||||||
* can cause pointers to splits and transactions to disapear out
|
* can cause pointers to splits and transactions to disappear out
|
||||||
* from under the holder.
|
* from under the holder.
|
||||||
*/
|
*/
|
||||||
if (!qof_instance_get_destroying(trans) && scrub_data &&
|
if (!qof_instance_get_destroying(trans) && scrub_data &&
|
||||||
|
Loading…
Reference in New Issue
Block a user