projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Remove property settings from psppire_data_window and put them into the GtkBuilder...
[pspp]
/
src
/
language
/
data-io
/
print-space.c
diff --git
a/src/language/data-io/print-space.c
b/src/language/data-io/print-space.c
index c3a2e09a3d93f6f56de75da1a12346ee2329a8b7..25bcc750516964264f5bf99e9fd15fed251ed405 100644
(file)
--- a/
src/language/data-io/print-space.c
+++ b/
src/language/data-io/print-space.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 2006 Free Software Foundation, Inc.
+ Copyright (C) 2006
, 2009
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
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
@@
-26,8
+26,8
@@
#include <language/data-io/file-handle.h>
#include <language/expressions/public.h>
#include <language/lexer/lexer.h>
#include <language/data-io/file-handle.h>
#include <language/expressions/public.h>
#include <language/lexer/lexer.h>
-#include <output/manager.h>
#include <libpspp/message.h>
#include <libpspp/message.h>
+#include <output/text-item.h>
#include "xalloc.h"
#include "xalloc.h"
@@
-102,7
+102,7
@@
cmd_print_space (struct lexer *lexer, struct dataset *ds)
/* Executes a PRINT SPACE transformation. */
static int
/* Executes a PRINT SPACE transformation. */
static int
-print_space_trns_proc (void *t_, struct ccase *c,
+print_space_trns_proc (void *t_, struct ccase *
*
c,
casenumber case_num UNUSED)
{
struct print_space_trns *trns = t_;
casenumber case_num UNUSED)
{
struct print_space_trns *trns = t_;
@@
-111,7
+111,7
@@
print_space_trns_proc (void *t_, struct ccase *c,
n = 1;
if (trns->expr)
{
n = 1;
if (trns->expr)
{
- double f = expr_evaluate_num (trns->expr, c, case_num);
+ 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."));
if (f == SYSMIS)
msg (SW, _("The expression on PRINT SPACE evaluated to the "
"system-missing value."));
@@
-123,7
+123,7
@@
print_space_trns_proc (void *t_, struct ccase *c,
while (n--)
if (trns->writer == NULL)
while (n--)
if (trns->writer == NULL)
-
som_blank_line (
);
+
text_item_submit (text_item_create (TEXT_ITEM_BLANK_LINE, "")
);
else
dfm_put_record (trns->writer, " ", 1);
else
dfm_put_record (trns->writer, " ", 1);