X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Foutput%2Fmeasure.c;h=faeef969b09b247e4b4d3a7f468e35a2039bccbe;hb=09a2c6d005e5a94b68653e36d27309e249798173;hp=60894f1cc25f81b3b21ae862ee646e0ac1d3c0ac;hpb=319a66b560b7ca7144b88ced1982ba5e490e6e57;p=pspp diff --git a/src/output/measure.c b/src/output/measure.c index 60894f1cc2..faeef969b0 100644 --- a/src/output/measure.c +++ b/src/output/measure.c @@ -1,5 +1,5 @@ /* 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 @@ -29,6 +29,7 @@ #include "data/file-name.h" #include "libpspp/str.h" +#include "gl/c-strcase.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++) - if (!strcasecmp (unit, p->name)) + if (!c_strcasecmp (unit, p->name)) return p->factor; return 0.0; }