projects
/
pspp
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5cf5c8
)
ascii: Fix parsing of -O width=<n> option.
author
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 9 Jan 2020 07:22:49 +0000
(07:22 +0000)
committer
Ben Pfaff
<blp@cs.stanford.edu>
Thu, 9 Jan 2020 07:23:00 +0000
(07:23 +0000)
src/output/ascii.c
patch
|
blob
|
history
diff --git
a/src/output/ascii.c
b/src/output/ascii.c
index e41e128c6df109878426acc84214951b8e928108..abf564401fa361ed984ee5935f77c7a410d14003 100644
(file)
--- a/
src/output/ascii.c
+++ b/
src/output/ascii.c
@@
-371,7
+371,7
@@
parse_page_size (struct driver_option *option)
errno = 0;
value = strtol (option->value, &tail, 0);
- if (
dim
>= 1 && errno != ERANGE && *tail == '\0')
+ if (
value
>= 1 && errno != ERANGE && *tail == '\0')
dim = value;
else
msg (MW, _("%s: %s must be positive integer or `auto'"),