projects
/
pspp-builds.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
51755f0
)
Use value_compare_3way instead of compare_values_short in find dialog
author
John Darrington
<john@darrington.wattle.id.au>
Wed, 3 Dec 2008 23:46:36 +0000
(08:46 +0900)
committer
John Darrington
<john@darrington.wattle.id.au>
Wed, 3 Dec 2008 23:46:36 +0000
(08:46 +0900)
src/ui/gui/find-dialog.c
patch
|
blob
|
history
diff --git
a/src/ui/gui/find-dialog.c
b/src/ui/gui/find-dialog.c
index 3c54cac4cc554bfce3cb717efd516b95421fda9b..66d3a2cd19709e8c92be02564749bfa41b6cde94 100644
(file)
--- 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)
);
}