anti core dump fixes

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@993 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
Linas Vepstas 1998-08-13 02:14:13 +00:00
parent 921c888915
commit b7c8d0fdfb
2 changed files with 5 additions and 0 deletions

View File

@ -721,6 +721,7 @@ xaccRefreshTableGUI (Table * table)
printf("xaccRefreshTableGUI(%p)\n", table);
if (!table) return;
if (!(table->table_widget)) return;
/* The 0'th row of the handlers is defined as the header */
curs = table->handlers[0][0];

View File

@ -625,6 +625,8 @@ SetupColorTable (Table *table)
XColor * colors;
int i, ncolors;
if (!(table->table_widget)) return;
/* if already initialized, do nothing */
if (0 != table->ncolors) return;
@ -769,6 +771,8 @@ RefreshColors (Table * table, int from_row, int to_row, int from_col, int to_col
void
xaccRefreshTableGUI (Table * table)
{
if (!table) return;
if (!(table->table_widget)) return;
{int i;
printf (" refresh numphysrows=%d numphyscols=%d =========================\n",