Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git] / src / language / stats / sort-cases.c
index 2435c19a527fa29570afcfa735f1ecd0d24e1977..85acc6c2b76696f4175cb8f69457be8660a8b3f7 100644 (file)
@@ -52,7 +52,7 @@ cmd_sort_cases (struct lexer *lexer, struct dataset *ds)
   if (ordering == NULL)
     return CMD_CASCADING_FAILURE;
 
-  if (get_testing_mode () && lex_match (lexer, '/'))
+  if (settings_get_testing_mode () && lex_match (lexer, '/'))
     {
       if (!lex_force_match_id (lexer, "BUFFERS") || !lex_match (lexer, '=')
           || !lex_force_int (lexer))