Small spelling fixes in the comments

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18684 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Geert Janssens
2010-02-18 15:46:46 +00:00
parent 043b6139c9
commit c25d050c18
2 changed files with 7 additions and 7 deletions

View File

@@ -99,7 +99,7 @@ struct _SchedXaction
/* if num_occurances_total == 0, then no limit */ /* if num_occurances_total == 0, then no limit */
gint num_occurances_total; gint num_occurances_total;
/* reminaing occurances are as-of the 'last_date'. */ /* remaining occurrences are as-of the 'last_date'. */
gint num_occurances_remain; gint num_occurances_remain;
/* the current instance-count of the SX. */ /* the current instance-count of the SX. */
@@ -178,12 +178,12 @@ void xaccSchedXactionSetLastOccurDate( SchedXaction *sx, GDate* newLastOccur );
/** /**
* Returns true if the scheduled transaction has a defined number of * Returns true if the scheduled transaction has a defined number of
* occurances, false if not. * occurrences, false if not.
*/ */
gboolean xaccSchedXactionHasOccurDef( const SchedXaction *sx ); gboolean xaccSchedXactionHasOccurDef( const SchedXaction *sx );
gint xaccSchedXactionGetNumOccur( const SchedXaction *sx ); gint xaccSchedXactionGetNumOccur( const SchedXaction *sx );
/** /**
* Set to '0' to turn off number-of-occurances definition. * Set to '0' to turn off number-of-occurrences definition.
*/ */
void xaccSchedXactionSetNumOccur( SchedXaction *sx, gint numNum ); void xaccSchedXactionSetNumOccur( SchedXaction *sx, gint numNum );
gint xaccSchedXactionGetRemOccur( const SchedXaction *sx ); gint xaccSchedXactionGetRemOccur( const SchedXaction *sx );
@@ -245,10 +245,10 @@ void gnc_sx_destroy_temporal_state( void *stateData );
void *gnc_sx_clone_temporal_state( void *stateData ); void *gnc_sx_clone_temporal_state( void *stateData );
/** @} */ /** @} */
/** \brief Returns the next occurance of a scheduled transaction. /** \brief Returns the next occurrence of a scheduled transaction.
* *
* If the transaction hasn't occured, then it's based off the start date. * If the transaction hasn't occurred, then it's based off the start date.
* Otherwise, it's based off the last-occurance date. * Otherwise, it's based off the last-occurrence date.
* *
* If state data is NULL, the current value of the SX is used for * If state data is NULL, the current value of the SX is used for
* computation. Otherwise, the values in the state data are used. This * computation. Otherwise, the values in the state data are used. This

View File

@@ -202,7 +202,7 @@ qof_event_generate_internal (QofInstance *entity, QofEventId event_id,
} }
handler_run_level--; handler_run_level--;
/* If we're the outtermost event runner and we have pending deletes /* If we're the outermost event runner and we have pending deletes
* then go delete the handlers now. * then go delete the handlers now.
*/ */
if (handler_run_level == 0 && pending_deletes) if (handler_run_level == 0 && pending_deletes)