r18187 - gnucash/trunk/src/register/ledger-core - Register: Clarify a debugging message.

Charles Day cedayiv at code.gnucash.org
Tue Jul 7 16:09:15 EDT 2009


Author: cedayiv
Date: 2009-07-07 16:09:14 -0400 (Tue, 07 Jul 2009)
New Revision: 18187
Trac: http://svn.gnucash.org/trac/changeset/18187

Modified:
   gnucash/trunk/src/register/ledger-core/split-register-control.c
Log:
Register: Clarify a debugging message.


Modified: gnucash/trunk/src/register/ledger-core/split-register-control.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register-control.c	2009-07-07 16:57:43 UTC (rev 18186)
+++ gnucash/trunk/src/register/ledger-core/split-register-control.c	2009-07-07 20:09:14 UTC (rev 18187)
@@ -256,7 +256,8 @@
     }
     else if (!gnc_commodity_equal(orig_com, new_com))
     {
-      DEBUG("Commodity now %s (was %s). Clearing rate.",
+      /* The commodity has changed but is not the original. Reset the rate. */
+      DEBUG("Commodity now %s (originally %s). Clearing rate.",
             new_com  ? gnc_commodity_get_mnemonic(new_com) : "NULL",
             orig_com ? gnc_commodity_get_mnemonic(orig_com) : "NULL");
 



More information about the gnucash-changes mailing list