projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Patched bug(s) in postscipt driver
[pspp]
/
src
/
postscript.c
diff --git
a/src/postscript.c
b/src/postscript.c
index 16d02094133ecac1a8374b30e17cdc7a9a7f7891..dd1905d7023234979e3edd46976d022d7e991b5b 100644
(file)
--- a/
src/postscript.c
+++ b/
src/postscript.c
@@
-955,8
+955,11
@@
output_encodings (struct outp_driver *this)
while (ds_get_config_line (f, &buf, &where))
{
- char *sp;
-
+ char *sp;
+
+ if (buf.length == 0 )
+ continue;
+
pschar = strtok_r (ds_value (&buf), " \t\r\n", &sp);
code = strtok_r (NULL, " \t\r\n", &sp);
if (*pschar == 0 || *code == 0)