subtable_num++;
t->table_num = table_num;
t->subtable_num = subtable_num;
- t->command_name = xstrdup (command_name);
+ t->command_name = command_name ? xstrdup (command_name) : NULL;
if (t->type == SOM_TABLE)
{
void *r;
outp_open_page (d);
- if (d->class->special || t->type == SOM_CHART)
+ if (d->class->special)
{
d->class->submit (d, t);
return;