r18521 - gnucash/trunk/src - Fix some incorrect ENTER() and LEAVE() calls.
Mike Alexander
mta at code.gnucash.org
Thu Dec 17 02:41:23 EST 2009
Author: mta
Date: 2009-12-17 02:41:23 -0500 (Thu, 17 Dec 2009)
New Revision: 18521
Trac: http://svn.gnucash.org/trac/changeset/18521
Modified:
gnucash/trunk/src/engine/gnc-commodity.c
gnucash/trunk/src/register/register-core/table-allgui.c
Log:
Fix some incorrect ENTER() and LEAVE() calls.
Modified: gnucash/trunk/src/engine/gnc-commodity.c
===================================================================
--- gnucash/trunk/src/engine/gnc-commodity.c 2009-12-17 07:40:28 UTC (rev 18520)
+++ gnucash/trunk/src/engine/gnc-commodity.c 2009-12-17 07:41:23 UTC (rev 18521)
@@ -388,7 +388,7 @@
return source;
}
- LEAVE("Unknown source %s", name);
+ DEBUG("gnc_quote_source_lookup_by_internal: Unknown source %s", name);
return NULL;
}
Modified: gnucash/trunk/src/register/register-core/table-allgui.c
===================================================================
--- gnucash/trunk/src/register/register-core/table-allgui.c 2009-12-17 07:40:28 UTC (rev 18520)
+++ gnucash/trunk/src/register/register-core/table-allgui.c 2009-12-17 07:41:23 UTC (rev 18521)
@@ -827,6 +827,7 @@
if (!gnc_table_virtual_loc_valid (table, new_virt_loc, TRUE))
{
PWARN("bad table location");
+ LEAVE("");
return;
}
@@ -997,7 +998,7 @@
gnc_table_refresh_cursor_gui (table, save_loc.vcell_loc, FALSE);
}
- LEAVE ("\n");
+ LEAVE ("");
}
void
@@ -1245,7 +1246,7 @@
cell_row = virt_loc.phys_row_offset;
cell_col = virt_loc.phys_col_offset;
- ENTER ("\n");
+ ENTER ("");
if (!gnc_table_confirm_change (table, virt_loc))
{
@@ -1338,7 +1339,7 @@
if (!cell)
return FALSE;
- ENTER ("\n");
+ ENTER ("");
if (cell->direct_update == NULL)
{
More information about the gnucash-changes
mailing list