projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed119c7
)
Compacted values need to start off from 0.
author
Ben Pfaff
<blp@gnu.org>
Fri, 26 Mar 2004 22:22:45 +0000
(22:22 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Fri, 26 Mar 2004 22:22:45 +0000
(22:22 +0000)
src/ChangeLog
patch
|
blob
|
history
src/dictionary.c
patch
|
blob
|
history
diff --git
a/src/ChangeLog
b/src/ChangeLog
index aeb5cac1cbd78dbd1f7c9eb23a0b23939b8b72c4..ff808958162e7d69d406fb1e43dbe49935c93fde 100644
(file)
--- a/
src/ChangeLog
+++ b/
src/ChangeLog
@@
-1,3
+1,8
@@
+Fri Mar 26 14:21:23 2004 Ben Pfaff <blp@gnu.org>
+
+ * dictionary.c: (dict_compact_values) Compacted values need to
+ start off from 0.
+
Fri Mar 26 00:54:57 2004 Ben Pfaff <blp@gnu.org>
* var-labs.c: (cmd_variable_labels) For compatibility, don't allow
diff --git
a/src/dictionary.c
b/src/dictionary.c
index 6db18670f5ed3c352f182f901261a40355195cf9..f2ac187a1dcf1805a61096b7b2ba713800c61e15 100644
(file)
--- a/
src/dictionary.c
+++ b/
src/dictionary.c
@@
-661,6
+661,7
@@
dict_compact_values (struct dictionary *d)
{
size_t i;
+ d->next_value_idx = 0;
for (i = 0; i < d->var_cnt; )
{
struct variable *v = d->var[i];