Added a test for the lag command and started on the sample command
[pspp] / src / postscript.c
index 16d02094133ecac1a8374b30e17cdc7a9a7f7891..9fa1615246b6558e700d94a21441330c062a93ba 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)