projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
table-select: Only cut headers into two if needed in table_select_slice().
[pspp]
/
src
/
data
/
por-file-reader.c
diff --git
a/src/data/por-file-reader.c
b/src/data/por-file-reader.c
index e2c06b8be9eab9f108e03615c831e430c605a419..0897d77aa2e30a4520f645c9fa9a647ed7fde652 100644
(file)
--- a/
src/data/por-file-reader.c
+++ b/
src/data/por-file-reader.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2006, 2009, 2010, 2011, 2012
, 2013, 2014
Free Software Foundation, Inc.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
@@
-657,8
+657,8
@@
read_variables (struct pfm_reader *r, struct dictionary *dict)
if (r->var_cnt <= 0)
error (r, _("Invalid number of variables %d."), r->var_cnt);
if (r->var_cnt <= 0)
error (r, _("Invalid number of variables %d."), r->var_cnt);
- /* Purpose of this value is unknown. It is typically 161. */
- read_int (r);
+ if (match (r, '5'))
+
read_int (r);
if (match (r, '6'))
{
if (match (r, '6'))
{
@@
-750,7
+750,7
@@
read_variables (struct pfm_reader *r, struct dictionary *dict)
{
char label[256];
read_string (r, label);
{
char label[256];
read_string (r, label);
- var_set_label (v, label
, false
); /* XXX */
+ var_set_label (v, label); /* XXX */
}
}
}
}