X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvector.c;h=7c8ec4178dc9200473f308b385d35367441adac0;hb=1e3875c54e8c220e282ab46f17bebdf4c0dea689;hp=87046ad42b8127853f7a67b75bb2f07dc4583121;hpb=9ade26c8349b4434008c46cf09bc7473ec743972;p=pspp diff --git a/src/data/vector.c b/src/data/vector.c index 87046ad42b..7c8ec4178d 100644 --- a/src/data/vector.c +++ b/src/data/vector.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2006, 2010, 2011 Free Software Foundation, Inc. + Copyright (C) 2006, 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 @@ -23,6 +23,7 @@ #include "data/dictionary.h" #include "data/identifier.h" #include "libpspp/assertion.h" +#include "libpspp/i18n.h" #include "libpspp/str.h" #include "gl/xalloc.h" @@ -140,6 +141,6 @@ compare_vector_ptrs_by_name (const void *a_, const void *b_) struct vector *a = *pa; struct vector *b = *pb; - return strcasecmp (a->name, b->name); + return utf8_strcasecmp (a->name, b->name); }