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:
44e08a6
)
* format.c (measure_is_valid): Really return false when m >=
author
Ben Pfaff
<blp@gnu.org>
Fri, 9 Jun 2006 19:11:58 +0000
(19:11 +0000)
committer
Ben Pfaff
<blp@gnu.org>
Fri, 9 Jun 2006 19:11:58 +0000
(19:11 +0000)
n_MEASURES.
src/data/ChangeLog
patch
|
blob
|
history
src/data/format.c
patch
|
blob
|
history
diff --git
a/src/data/ChangeLog
b/src/data/ChangeLog
index aec7b0c8d587df97b26f5e6b4f7dc42755f930ca..6538ebf45cf7e98d85244d8fc54e9f466337bd1c 100644
(file)
--- a/
src/data/ChangeLog
+++ b/
src/data/ChangeLog
@@
-1,3
+1,8
@@
+Fri Jun 9 12:11:24 2006 Ben Pfaff <blp@gnu.org>
+
+ * format.c (measure_is_valid): Really return false when m >=
+ n_MEASURES.
+
Tue Jun 6 18:46:26 2006 Ben Pfaff <blp@gnu.org>
Implement random access to casefiles, for use in GUI.
diff --git
a/src/data/format.c
b/src/data/format.c
index 7066c053f5867ec0e7d2a6e89bf498e38793f731..88b613748c42e871733751a81b2ced6223e75d95 100644
(file)
--- a/
src/data/format.c
+++ b/
src/data/format.c
@@
-378,7
+378,7
@@
bool
measure_is_valid(enum measure m)
{
if ( m <= 0 ) return false;
- if ( m >= n_MEASURES) false;
+ if ( m >= n_MEASURES)
return
false;
return true;
}