Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git] / src / language / control / loop.c
index 20cf69e5d9ce2abbeb14daa126909a57efb2eb32..ea020a250dd3b8fbca1702b2ff598f8c85718142 100644 (file)
@@ -180,7 +180,7 @@ close_loop (void *loop_)
       && loop->index_var == NULL
       && loop->loop_condition == NULL
       && loop->end_loop_condition == NULL)
-    loop->max_pass_count = get_mxloops ();
+    loop->max_pass_count = settings_get_mxloops ();
 }
 
 /* Parses an IF clause for LOOP or END LOOP and stores the