output: Move text_item and group_item usage closer to the SPV model.
[pspp] / src / language / data-io / print-space.c
index adeb92ba5b656f7391dd75bc1736469d59c00dd7..555cdfa405031dde23a81f4e6f3a87a5643a5649 100644 (file)
@@ -124,17 +124,17 @@ print_space_trns_proc (void *t_, struct ccase **c,
     {
       double f = expr_evaluate_num (trns->expr, *c, case_num);
       if (f == SYSMIS)
-        msg (SW, _("The expression on PRINT SPACE evaluated to the "
-                   "system-missing value."));
+        msg (SW, _("The expression on %s evaluated to the "
+                   "system-missing value."), "PRINT SPACE");
       else if (f < 0 || f > INT_MAX)
-        msg (SW, _("The expression on PRINT SPACE evaluated to %g."), f);
+        msg (SW, _("The expression on %s evaluated to %g."), "PRINT SPACE", f);
       else
         n = f;
     }
 
   while (n--)
     if (trns->writer == NULL)
-      text_item_submit (text_item_create (TEXT_ITEM_BLANK_LINE, ""));
+      text_item_submit (text_item_create (TEXT_ITEM_LOG, ""));
     else
       dfm_put_record (trns->writer, " ", 1); /* XXX */