[PATCH] Fix typos in comments

Alan Jenkins sourcejedi.lkml at googlemail.com
Mon Feb 2 06:35:57 EST 2009


diff --git a/src/engine/Account.h b/src/engine/Account.h
index 1b4c9b1..6cbb855 100644
--- a/src/engine/Account.h
+++ b/src/engine/Account.h
@@ -25,7 +25,7 @@
     Splits that debit that Account. To ensure consistency, if a Split points
     to an Account, then the Account must point to the Split, and vice-versa.
     A Split can belong to at most one Account. Besides merely containing a
-    list of Splits, the Account structure also give the Account a name, a
+    list of Splits, the Account structure also gives the Account a name, a
     code number, description and notes fields, a key-value frame, a pointer
     to the commodity that is used for all splits in this account. The
     commodity can be the name of anything traded and tradable: a stock
diff --git a/src/engine/Split.h b/src/engine/Split.h
index 01cc97b..69b2a16 100644
--- a/src/engine/Split.h
+++ b/src/engine/Split.h
@@ -158,7 +158,7 @@ const char *  xaccSplitGetMemo (const Split *split);
 
 /** The Action is an arbitrary user-assigned string. 
  * The action field is an arbitrary user-assigned value.
- * It is meant to be a very short (one to ten cahracter) string that
+ * It is meant to be a very short (one to ten character) string that
  * signifies the "type" of this split, such as e.g. Buy, Sell, Div,
  * Withdraw, Deposit, ATM, Check, etc. The idea is that this field
  * can be used to create custom reports or graphs of data. */
@@ -214,7 +214,7 @@ Timespec      xaccSplitRetDateReconciledTS (const Split *split);
  * any of these routines are invoked!  This is because the actual
  * setting of amounts/values requires SCU settings from the account.
  * If these are not available, then amounts/values will be set to 
- * -1/0, which is an invalid value.  I beleive this order dependency
+ * -1/0, which is an invalid value.  I believe this order dependency
  * is a bug, but I'm too lazy to find, fix & test at the moment ... 
  *
  * @note If you use this on a newly created transaction, make sure
diff --git a/src/engine/Transaction.h b/src/engine/Transaction.h
index 020d4c6..6abf69a 100644
--- a/src/engine/Transaction.h
+++ b/src/engine/Transaction.h
@@ -201,7 +201,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,
-    hard to imagine legitamate uses (but it is used by
+    hard to imagine legitimate uses (but it is used by
     the import/export code for reasons I can't understand.)
  */
 gboolean      xaccTransIsOpen (const Transaction *trans);
diff --git a/src/import-export/import-backend.c b/src/import-export/import-backend.c
index 85036cc..1dd76f5 100644
--- a/src/import-export/import-backend.c
+++ b/src/import-export/import-backend.c
@@ -509,7 +509,7 @@ matchmap_store_destination (GncImportMatchMap *matchmap,
   g_assert (trans_info);
 
   /* This will store the destination account of the selected match if 
-     the recondile match selected has only two split.  Good idea  
+     the reconcile match selected has only two split.  Good idea  
      Christian! */ 
   dest = ((use_match) ?
 	  xaccSplitGetAccount




More information about the gnucash-devel mailing list