projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
sack works
[pspp]
/
src
/
language
/
commands
/
output.c
diff --git
a/src/language/commands/output.c
b/src/language/commands/output.c
index 38d437ae18fa9a9050c234d699b31ee9d77a0176..a3515edbddbd277be4d25b53783f8cc511294e4d 100644
(file)
--- a/
src/language/commands/output.c
+++ b/
src/language/commands/output.c
@@
-86,10
+86,7
@@
cmd_output_modify (struct lexer *lexer, struct dataset *ds UNUSED)
goto error;
if (width <= 0)
goto error;
if (width <= 0)
- {
- const struct fmt_spec *dflt = settings_get_format ();
- width = dflt->w;
- }
+ width = settings_get_format ().w;
if (!fmt_from_name (type, &fmt.type))
{
if (!fmt_from_name (type, &fmt.type))
{
@@
-112,7
+109,7
@@
cmd_output_modify (struct lexer *lexer, struct dataset *ds UNUSED)
const struct string_set_node *node;
const char *s;
STRING_SET_FOR_EACH (s, node, &rc_names)
const struct string_set_node *node;
const char *s;
STRING_SET_FOR_EACH (s, node, &rc_names)
- if (!pivot_result_class_change (s,
&
fmt))
+ if (!pivot_result_class_change (s, fmt))
lex_error (lexer, _("Unknown cell class %s."), s);
}
}
lex_error (lexer, _("Unknown cell class %s."), s);
}
}