projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
treewide: Replace <name>_cnt by n_<name>s and <name>_cap by allocated_<name>.
[pspp]
/
src
/
language
/
dictionary
/
modify-variables.c
diff --git
a/src/language/dictionary/modify-variables.c
b/src/language/dictionary/modify-variables.c
index ab73bbb8990d7ded61c0701988b07c47f24b3873..e022586dac71102ef4244505264f8c88eeba8a17 100644
(file)
--- a/
src/language/dictionary/modify-variables.c
+++ b/
src/language/dictionary/modify-variables.c
@@
-307,7
+307,7
@@
cmd_modify_vars (struct lexer *lexer, struct dataset *ds)
vm.drop_vars = drop_vars;
vm.n_drop = n_drop;
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. "
{
msg (SE, _("%s may not be used to delete all variables "
"from the active dataset dictionary. "