X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fdata%2Fcategory.c;h=968dd4c52da8369e629fb2797faa056db4b67227;hp=3aaf5c552cd903897566eb869aa97b0c95e06f2d;hb=5c3291dc396b795696e94f47780308fd7ace6fc4;hpb=c6fe58a22249f4f486b42f35fd8bd537c91e8e6e diff --git a/src/data/category.c b/src/data/category.c index 3aaf5c55..968dd4c5 100644 --- a/src/data/category.c +++ b/src/data/category.c @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 2005 Free Software Foundation, Inc. + Copyright (C) 2005, 2009 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 @@ -106,7 +106,7 @@ cat_value_find (const struct variable *v, const union value *val) { candidate = obs_vals->vals + i; assert (candidate != NULL); - if (!compare_values_short (candidate, val, v)) + if (value_equal (candidate, val, var_get_width (v))) { return i; }