r17893 - gnucash/trunk/src/register/ledger-core - Register: Add one new debugging message and tweak some others.
Charles Day
cedayiv at cvs.gnucash.org
Wed Feb 11 17:11:30 EST 2009
Author: cedayiv
Date: 2009-02-11 17:11:30 -0500 (Wed, 11 Feb 2009)
New Revision: 17893
Trac: http://svn.gnucash.org/trac/changeset/17893
Modified:
gnucash/trunk/src/register/ledger-core/split-register.c
Log:
Register: Add one new debugging message and tweak some others.
Modified: gnucash/trunk/src/register/ledger-core/split-register.c
===================================================================
--- gnucash/trunk/src/register/ledger-core/split-register.c 2009-02-11 22:03:39 UTC (rev 17892)
+++ gnucash/trunk/src/register/ledger-core/split-register.c 2009-02-11 22:11:30 UTC (rev 17893)
@@ -1458,7 +1458,7 @@
return TRUE;
}
- DEBUG ("save split is %p \n", split);
+ DEBUG("save split=%p", split);
DEBUG("blank_split=%p, blank_trans=%p, pending_trans=%p, trans=%p",
blank_split, blank_trans, pending_trans, trans);
@@ -1557,6 +1557,7 @@
gnc_table_set_virt_cell_data (reg->table,
reg->table->current_cursor_loc.vcell_loc,
xaccSplitGetGUID (split));
+ DEBUG("assigned cell to new split=%p", split);
trans_split = gnc_split_register_get_current_trans_split (reg, NULL);
if ((info->cursor_hint_trans == trans) &&
@@ -1568,7 +1569,7 @@
}
}
- DEBUG ("updating trans addr=%p\n", trans);
+ DEBUG("updating trans=%p", trans);
{
SRSaveData *sd;
@@ -1585,7 +1586,7 @@
memo = memo ? memo : "(null)";
desc = xaccTransGetDescription (trans);
desc = desc ? desc : "(null)";
- PINFO ("finished saving split %s of trans %s \n", memo, desc);
+ PINFO ("finished saving split \"%s\" of trans \"%s\"", memo, desc);
/* If the modified split is the "blank split", then it is now an
* official part of the account. Set the blank split to NULL, so we
More information about the gnucash-changes
mailing list