From: John Darrington Date: Wed, 3 Dec 2008 23:46:36 +0000 (+0900) Subject: Use value_compare_3way instead of compare_values_short in find dialog X-Git-Tag: v0.7.1~50^2~2 X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7f37cbe10c05cf3b046452691eb4a3d821c3ae7c;p=pspp-builds.git Use value_compare_3way instead of compare_values_short in find dialog --- diff --git a/src/ui/gui/find-dialog.c b/src/ui/gui/find-dialog.c index 3c54cac4..66d3a2cd 100644 --- a/src/ui/gui/find-dialog.c +++ b/src/ui/gui/find-dialog.c @@ -464,7 +464,7 @@ value_compare (const struct comparator *cmptr, const union value *v) { const struct value_comparator *vc = (const struct value_comparator *) cmptr; - return 0 == compare_values_short (v, vc->pattern, cmptr->var); + return 0 == value_compare_3way (v, vc->pattern, var_get_width (cmptr->var)); }