Reworked settings so as to use one large struct instead of lots of static
[pspp-builds.git] / src / data / dictionary.c
index 94a0292e17b54d878b69e6d37539118cff47b6e2..85b6a34909f0550a5ad9343d6abdf5608082e554 100644 (file)
@@ -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);
 
-  if (get_algorithm () == ENHANCED)
+  if (settings_get_algorithm () == ENHANCED)
     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. */
-  if (get_algorithm () == ENHANCED)
+  if (settings_get_algorithm () == ENHANCED)
     for (i = 0; i < count; i++)
       var_clear_short_names (vars[i]);