Implemented the SHOW command and massaged the SET command to fit
[pspp-builds.git] / src / flip.c
index 7e424ba2e0f0705f170c54433c41e14494fdfa42..5fd1dea30fa15fdd908446e20e01e15dd66c83cd 100644 (file)
@@ -359,7 +359,7 @@ flip_file (struct flip_pgm *flip)
 
   /* Allocate memory for many cases. */
   case_bytes = flip->var_cnt * sizeof *input_buf;
-  case_capacity = set_max_workspace / case_bytes;
+  case_capacity = get_max_workspace() / case_bytes;
   if (case_capacity > flip->case_cnt * 2)
     case_capacity = flip->case_cnt * 2;
   if (case_capacity < 2)