Fixed bug 13082
[pspp-builds.git] / src / dfm-read.c
index a293cb5f308cfc4e0afc0e9f84fbb920b9e766be..32b458e00f64be9f2b0255e38c2a9a510f6688d6 100644 (file)
@@ -78,7 +78,7 @@ dfm_close_reader (struct dfm_reader *r)
       assert (inline_open_cnt > 0);
       still_open = --inline_open_cnt;
 
-      if (!still_open) 
+      if (still_open) 
         {
           /* Skip any remaining data on the inline file. */
           while ((r->flags & DFM_EOF) == 0)