Patched bug(s) in postscipt driver
[pspp] / src / postscript.c
index 16d02094133ecac1a8374b30e17cdc7a9a7f7891..dd1905d7023234979e3edd46976d022d7e991b5b 100644 (file)
@@ -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)