projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge 'master' into 'psppsheet'.
[pspp]
/
src
/
output
/
measure.c
diff --git
a/src/output/measure.c
b/src/output/measure.c
index 60894f1cc25f81b3b21ae862ee646e0ac1d3c0ac..faeef969b09b247e4b4d3a7f468e35a2039bccbe 100644
(file)
--- a/
src/output/measure.c
+++ b/
src/output/measure.c
@@
-1,5
+1,5
@@
/* PSPP - a program for statistical analysis.
/* PSPP - a program for statistical analysis.
- Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2011 Free Software Foundation, Inc.
+ Copyright (C) 1997-9, 2000, 2007, 2009, 2010, 2011
, 2012
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
@@
-29,6
+29,7
@@
#include "data/file-name.h"
#include "libpspp/str.h"
#include "data/file-name.h"
#include "libpspp/str.h"
+#include "gl/c-strcase.h"
#include "gl/error.h"
#include "gettext.h"
#include "gl/error.h"
#include "gettext.h"
@@
-135,7
+136,7
@@
parse_unit (const char *unit)
unit += strspn (unit, CC_SPACES);
for (p = units; p < units + sizeof units / sizeof *units; p++)
unit += strspn (unit, CC_SPACES);
for (p = units; p < units + sizeof units / sizeof *units; p++)
- if (!strcasecmp (unit, p->name))
+ if (!
c_
strcasecmp (unit, p->name))
return p->factor;
return 0.0;
}
return p->factor;
return 0.0;
}