treewide: Replace <name>_cnt by n_<name>s and <name>_cap by allocated_<name>.
[pspp] / src / language / dictionary / modify-variables.c
index ab73bbb8990d7ded61c0701988b07c47f24b3873..e022586dac71102ef4244505264f8c88eeba8a17 100644 (file)
@@ -307,7 +307,7 @@ cmd_modify_vars (struct lexer *lexer, struct dataset *ds)
           vm.drop_vars = drop_vars;
           vm.n_drop = n_drop;
 
-          if (n_drop == dict_get_var_cnt (dataset_dict (ds)))
+          if (n_drop == dict_get_n_vars (dataset_dict (ds)))
             {
               msg (SE, _("%s may not be used to delete all variables "
                          "from the active dataset dictionary.  "