Do not kill trailing spaces - breaks data list list where the last variable(s) on...
[pspp-builds.git] / src / dfm.c
index dd9755ed83376868a22861b2c1129f2dd07ec4b2..910bb32c160627cb421f2d53c2dfb16c12b48ec3 100644 (file)
--- a/src/dfm.c
+++ b/src/dfm.c
@@ -461,14 +461,13 @@ read_record (struct file_handle *h)
      reason, I'm sure.  I'm too scared to eliminate this code.  */
   if (handle_get_mode (h) == MODE_TEXT)
     {
-      while (ext->len && isspace ((unsigned char) ext->line[ext->len - 1]))
-       ext->len--;
-
+      /*      while (ext->len && isspace ((unsigned char) ext->line[ext->len - 1]))
+             ext->len--;*/
+      
       /* Convert tabs to spaces. */
-      tabs_to_spaces (h);
-               
-      ext->ptr = ext->line;
-    }
+               
+        ext->ptr = ext->line;
+      }
   return;
 
 eof: