diff --git a/src/backend/file/gnc-book-xml-v2.c b/src/backend/file/gnc-book-xml-v2.c index 31183a3ba7..3daba7b156 100644 --- a/src/backend/file/gnc-book-xml-v2.c +++ b/src/backend/file/gnc-book-xml-v2.c @@ -147,7 +147,7 @@ gnc_book_dom_tree_create(QofBook *book) /* ================================================================ */ /* same as above, but we write out directly. Only handle the guid - * and slots, everythign else is handled elsewehere */ + * and slots, everything else is handled elsewehere */ void write_book_parts(FILE *out, QofBook *book) diff --git a/src/backend/postgres/putil.h b/src/backend/postgres/putil.h index e2dd82bcd6..6bf742dec3 100644 --- a/src/backend/postgres/putil.h +++ b/src/backend/postgres/putil.h @@ -210,7 +210,7 @@ int finishQuery(PGBackend *be); * -- sqlname -- input -- the name of the field in the sql table * -- fun -- input -- a subroutine returning a value * -- ndiffs -- input/output -- integer, incremented if the - * value ofthe field and the value returned by + * value of the field and the value returned by * the subroutine differ. * * The different macros compare different field types. @@ -245,7 +245,7 @@ int finishQuery(PGBackend *be); } /* Compare guids. A NULL GUID from the engine is considered to - * match any value of a GUID in teh sql database. This is + * match any value of a GUID in the sql database. This is * equality is used to enable deletion, where the GUID may have * already been set to NULL in the engine, but not yet in the DB. */ diff --git a/src/gnome/gnc-plugin-page-register.h b/src/gnome/gnc-plugin-page-register.h index 0f21be3677..b3c59a75aa 100644 --- a/src/gnome/gnc-plugin-page-register.h +++ b/src/gnome/gnc-plugin-page-register.h @@ -64,7 +64,7 @@ typedef struct { /* function prototypes */ -/** Retrieve the type number for an "account tree" plugin page. +/** Retrieve the type number for the plugin page. * * @return The type number. */ @@ -82,7 +82,8 @@ GType gnc_plugin_page_register_get_type (void); * * @return The newly created plugin page. */ -GncPluginPage *gnc_plugin_page_register_new (Account *account, gboolean subaccounts); +GncPluginPage * +gnc_plugin_page_register_new (Account *account, gboolean subaccounts); /** Create a new "register" plugin page, given a pointer to an already @@ -95,14 +96,16 @@ GncPluginPage *gnc_plugin_page_register_new (Account *account, gboolean subaccou * * @return The newly created plugin page. */ -GncPluginPage *gnc_plugin_page_register_new_ledger (GNCLedgerDisplay *ledger); +GncPluginPage * +gnc_plugin_page_register_new_ledger (GNCLedgerDisplay *ledger); /** Create a new "register" plugin page containing a general ledger. * * @return The newly created plugin page. */ -GncPluginPage *gnc_plugin_page_register_new_gl (void); +GncPluginPage * +gnc_plugin_page_register_new_gl (void); /** Set various register options on a newly created "register" plugin page. @@ -132,7 +135,8 @@ gnc_plugin_page_register_set_options (GncPluginPage *plugin_page, * * @param plugin_page A "register" page. */ -GNCSplitReg * gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page); +GNCSplitReg * +gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page); /** Get the Account associated with this register page. @@ -142,7 +146,8 @@ GNCSplitReg * gnc_plugin_page_register_get_gsr (GncPluginPage *plugin_page); * @return The account if the register contains only a single * account, or an account and its sub-accounts. NULL otherwise. */ -Account *gnc_plugin_page_register_get_account (GncPluginPageRegister *page); +Account * +gnc_plugin_page_register_get_account (GncPluginPageRegister *page); G_END_DECLS /** @} */ diff --git a/src/import-export/qif-import/qif-file.scm b/src/import-export/qif-import/qif-file.scm index 4195ad0bcc..f992606cb4 100644 --- a/src/import-export/qif-import/qif-file.scm +++ b/src/import-export/qif-import/qif-file.scm @@ -640,7 +640,7 @@ ;; this is a semi-generic routine to apply a format check and ;; parsing routine to fields that can have multiple possible ;; formats. In this case, any amount field cam be decimal or -;; comma radix and the date firled can be any of several possible +;; comma radix and the date field can be any of several possible ;; types. ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; diff --git a/src/register/ledger-core/split-register-model.c b/src/register/ledger-core/split-register-model.c index 706f2f0497..f55d09080c 100644 --- a/src/register/ledger-core/split-register-model.c +++ b/src/register/ledger-core/split-register-model.c @@ -1647,7 +1647,7 @@ gnc_split_register_confirm (VirtualLocation virt_loc, gpointer user_data) char recn; /* This assumes we reset the flag whenever we change splits. - * This happens in LedgerMoveCursor. */ + * This happens in gnc_split_register_move_cursor(). */ if (info->change_confirmed) return TRUE; @@ -1691,7 +1691,6 @@ gnc_split_register_confirm (VirtualLocation virt_loc, gpointer user_data) return FALSE; info->change_confirmed = TRUE; - return TRUE; } return TRUE;