First step in making struct variable opaque: the boring mechanical
[pspp-builds.git] / src / language / utilities / set.q
index e47993e0ec38880104d44882e98ea55f5a8d8627..efafcc8fc0886bf681703abbf58cd9c63b720d38 100644 (file)
@@ -774,7 +774,7 @@ show_weight (const struct dataset *ds)
   if (var == NULL)
     msg (SN, _("WEIGHT is off."));
   else
-    msg (SN, _("WEIGHT is variable %s."), var->name);
+    msg (SN, _("WEIGHT is variable %s."), var_get_name (var));
 }
 
 static void