r14620 - gnucash/trunk/src - Line-wraps, and typo-fixes.

Chris Shoemaker chris at cvs.gnucash.org
Tue Aug 8 21:16:34 EDT 2006


Author: chris
Date: 2006-08-08 21:16:33 -0400 (Tue, 08 Aug 2006)
New Revision: 14620
Trac: http://svn.gnucash.org/trac/changeset/14620

Modified:
   gnucash/trunk/src/backend/file/gnc-book-xml-v2.c
   gnucash/trunk/src/backend/postgres/putil.h
   gnucash/trunk/src/gnome/gnc-plugin-page-register.h
   gnucash/trunk/src/import-export/qif-import/qif-file.scm
   gnucash/trunk/src/register/ledger-core/split-register-model.c
Log:
   Line-wraps, and typo-fixes.


Modified: gnucash/trunk/src/backend/file/gnc-book-xml-v2.c
===================================================================
--- gnucash/trunk/src/backend/file/gnc-book-xml-v2.c	2006-08-09 01:12:03 UTC (rev 14619)
+++ gnucash/trunk/src/backend/file/gnc-book-xml-v2.c	2006-08-09 01:16:33 UTC (rev 14620)
@@ -147,7 +147,7 @@
 
 /* ================================================================ */
 /* 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)

Modified: gnucash/trunk/src/backend/postgres/putil.h
===================================================================
--- gnucash/trunk/src/backend/postgres/putil.h	2006-08-09 01:12:03 UTC (rev 14619)
+++ gnucash/trunk/src/backend/postgres/putil.h	2006-08-09 01:16:33 UTC (rev 14620)
@@ -210,7 +210,7 @@
  * -- 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 @@
 }
 
 /* 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.
  */

Modified: gnucash/trunk/src/gnome/gnc-plugin-page-register.h
===================================================================
--- gnucash/trunk/src/gnome/gnc-plugin-page-register.h	2006-08-09 01:12:03 UTC (rev 14619)
+++ gnucash/trunk/src/gnome/gnc-plugin-page-register.h	2006-08-09 01:16:33 UTC (rev 14620)
@@ -64,7 +64,7 @@
 
 /* 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 @@
  *
  *  @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 @@
  *
  *  @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 @@
  *
  *  @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 @@
  *  @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
 /** @} */

Modified: gnucash/trunk/src/import-export/qif-import/qif-file.scm
===================================================================
--- gnucash/trunk/src/import-export/qif-import/qif-file.scm	2006-08-09 01:12:03 UTC (rev 14619)
+++ gnucash/trunk/src/import-export/qif-import/qif-file.scm	2006-08-09 01:16:33 UTC (rev 14620)
@@ -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. 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 

Modified: gnucash/trunk/src/register/ledger-core/split-register-model.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-model.c	2006-08-09 01:12:03 UTC (rev 14619)
+++ gnucash/trunk/src/register/ledger-core/split-register-model.c	2006-08-09 01:16:33 UTC (rev 14620)
@@ -1647,7 +1647,7 @@
   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 @@
       return FALSE;
 
     info->change_confirmed = TRUE;
-    return TRUE;
   }
 
   return TRUE;



More information about the gnucash-changes mailing list