projects
/
pspp-builds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git]
/
src
/
data
/
dictionary.c
diff --git
a/src/data/dictionary.c
b/src/data/dictionary.c
index 94a0292e17b54d878b69e6d37539118cff47b6e2..85b6a34909f0550a5ad9343d6abdf5608082e554 100644
(file)
--- a/
src/data/dictionary.c
+++ b/
src/data/dictionary.c
@@
-653,7
+653,7
@@
dict_rename_var (struct dictionary *d, struct variable *v,
rename_var (d, v, new_name);
hsh_force_insert (d->name_tab, v);
rename_var (d, v, new_name);
hsh_force_insert (d->name_tab, v);
- if (get_algorithm () == ENHANCED)
+ if (
settings_
get_algorithm () == ENHANCED)
var_clear_short_names (v);
if ( d->callbacks && d->callbacks->var_changed )
var_clear_short_names (v);
if ( d->callbacks && d->callbacks->var_changed )
@@
-718,7
+718,7
@@
dict_rename_vars (struct dictionary *d,
}
/* Clear short names. */
}
/* Clear short names. */
- if (get_algorithm () == ENHANCED)
+ if (
settings_
get_algorithm () == ENHANCED)
for (i = 0; i < count; i++)
var_clear_short_names (vars[i]);
for (i = 0; i < count; i++)
var_clear_short_names (vars[i]);