render: Make struct render_params a little smaller.
[pspp] / src / output / message-item.c
index a44784fe2eac99b7b8291290366682fdcc83367e..2acfa13bdfa6fd498339a11022a0e8a906bdb999 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPP - a program for statistical analysis.
-   Copyright (C) 2010 Free Sonftware Foundation, Inc.
+   Copyright (C) 2010 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
@@ -34,7 +34,6 @@ message_item_create (const struct msg *msg)
   item = xmalloc (sizeof *msg);
   output_item_init (&item->output_item, &message_item_class);
   item->msg = msg_dup (msg);
-  item->command_name = NULL;
 
   return item;
 }
@@ -50,7 +49,6 @@ message_item_destroy (struct output_item *output_item)
 {
   struct message_item *item = to_message_item (output_item);
   msg_destroy (item->msg);
-  free (item->command_name);
   free (item);
 }
 
@@ -64,5 +62,6 @@ message_item_submit (struct message_item *item)
 
 const struct output_item_class message_item_class =
   {
+    "message",
     message_item_destroy,
   };