[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Pspp-cvs] Changes to pspp/src/dictionary.c
From: |
Ben Pfaff |
Subject: |
[Pspp-cvs] Changes to pspp/src/dictionary.c |
Date: |
Tue, 15 Mar 2005 01:04:13 -0500 |
Index: pspp/src/dictionary.c
diff -u pspp/src/dictionary.c:1.14 pspp/src/dictionary.c:1.15
--- pspp/src/dictionary.c:1.14 Mon Mar 14 06:54:40 2005
+++ pspp/src/dictionary.c Tue Mar 15 06:04:10 2005
@@ -435,9 +435,8 @@
dict_clear_vectors (d);
/* Remove V from var array. */
+ remove_element (d->var, d->var_cnt, sizeof *d->var, v->index);
d->var_cnt--;
- memmove (d->var + v->index, d->var + v->index + 1,
- (d->var_cnt - v->index) * sizeof *d->var);
/* Update index. */
for (i = v->index; i < d->var_cnt; i++)