X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fdata%2Fvector.c;h=7c8ec4178dc9200473f308b385d35367441adac0;hb=18e998adf231aef51c477bd26d60c65334d19436;hp=87046ad42b8127853f7a67b75bb2f07dc4583121;hpb=fe8dc2171009e90d2335f159d05f7e6660e24780;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); }