[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/matrix-data.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/matrix-data.c |
Date: |
Mon, 16 May 2005 03:33:42 -0400 |
Index: pspp/src/matrix-data.c
diff -u pspp/src/matrix-data.c:1.27 pspp/src/matrix-data.c:1.28
--- pspp/src/matrix-data.c:1.27 Mon May 2 06:21:20 2005
+++ pspp/src/matrix-data.c Mon May 16 07:33:17 2005
@@ -1347,8 +1347,8 @@
int type = content_type[content];
{
- st_bare_pad_copy (case_data_rw (c, mx->rowtype_->fv)->s,
- content_names[content], 8);
+ buf_copy_str_rpad (case_data_rw (c, mx->rowtype_->fv)->s, 8,
+ content_names[content]);
if (type != 1)
memset (case_data_rw (c, mx->varname_->fv)->s, ' ', 8);
@@ -1369,10 +1369,9 @@
cp++;
}
if (type == 1)
- st_bare_pad_copy (case_data_rw (c, mx->varname_->fv)->s,
- dict_get_var (default_dict,
- mx->first_continuous + i)->name,
- 8);
+ buf_copy_str_rpad (case_data_rw (c, mx->varname_->fv)->s, 8,
+ dict_get_var (default_dict,
+ mx->first_continuous + i)->name);
write_case (wc_data);
}
}