LIST: Remove WEIGHT subcommand.
[pspp-builds.git] / src / output / manager.c
index 505362d39424f7fa3e15dd552a096d0eb8d70282..9b9013933ae87ed3fde10e6d93e83441a41a8ad2 100644 (file)
@@ -134,7 +134,7 @@ som_submit (struct som_entity *t)
     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)
     {
@@ -219,7 +219,7 @@ output_entity (struct outp_driver *d, struct som_entity *t)
   void *r;
 
   outp_open_page (d);
-  if (d->class->special || t->type == SOM_CHART)
+  if (d->class->special)
     {
       d->class->submit (d, t);
       return;