variable: Make var_set_label() use the variable's own encoding.
[pspp-builds.git] / src / ui / gui / psppire-var-store.c
index d495bd98dd16d174a72f5ab9d9a211087394b11b..e41b49223979e601e366982afad38dd5faf180be 100644 (file)
@@ -588,8 +588,7 @@ psppire_var_store_set_string (PsppireSheetModel *model,
       break;
     case PSPPIRE_VAR_STORE_COL_LABEL:
       {
-       var_set_label (pv, text,
-                       psppire_dict_encoding (var_store->dictionary), true);
+       var_set_label (pv, text, true);
        return TRUE;
       }
       break;