+Sat May 6 14:25:49 2006 Ben Pfaff <blp@gnu.org>
+
+ * sys-file-writer.c: (does_dict_need_translation) Fix bug:
+ inverted return value (!).
+
Sat May 6 13:37:52 2006 Ben Pfaff <blp@gnu.org>
Continue reforming procedure execution.
goto error;
}
+/* Returns zero if dictionary D's cases are ordered in the
+ natural manner, with the first variable followed by the
+ second, and so on,
+ nonzero otherwise. */
static int
does_dict_need_translation (const struct dictionary *d)
{
{
struct variable *v = dict_get_var (d, i);
if (v->fv != case_idx)
- return 0;
+ return 1;
case_idx += v->nv;
}
- return 1;
+ return 0;
}
/* Returns value of X truncated to two least-significant digits. */