Fix TEMPORARY bug and add regression test.
[pspp-builds.git] / src / dictionary.c
index 0f7133ecf59dd5c5e716cd21aa0515b8a18292be..9b69c89844a347e041269e783f0a54a9af366e95 100644 (file)
@@ -250,6 +250,7 @@ dict_create_var (struct dictionary *d, const char *name, int width)
       v->print.w = v->width;
       v->print.d = 0;
     }
+  v->write = v->print;
   v->val_labs = val_labs_create (v->width);
   v->label = NULL;