git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@1839 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas
1999-07-31 07:06:42 +00:00
parent c385244a0b
commit b225a14fe4

View File

@@ -924,6 +924,7 @@ gnc_table_leave_update(Table *table, int row, int col,
const int rel_col = table->locators[row][col]->phys_col_offset;
const char * (*leave) (BasicCell *, const char *);
char *newval = NULL;
const char *retval = NULL;
PINFO("table: leave -- proposed (%d %d) rel(%d %d) \"%s\"\n",
row, col, rel_row, rel_col, callback_text);
@@ -931,7 +932,6 @@ gnc_table_leave_update(Table *table, int row, int col,
/* OK, if there is a callback for this cell, call it */
leave = arr->cells[rel_row][rel_col]->leave_cell;
if (leave) {
const char * retval;
retval = leave(arr->cells[rel_row][rel_col], callback_text);
/* leave() might return null, or it might return a pointer to
@@ -967,6 +967,8 @@ gnc_table_leave_update(Table *table, int row, int col,
wrapVerifyCursorPosition (table,
table->reverify_phys_row,
table->reverify_phys_col);
return retval;
}
/* ==================================================== */