summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2016-05-29 18:43:00 -0700
committerKeith Packard <keithp@keithp.com>2016-05-29 18:43:16 -0700
commit24e4c6db25aef7a057f3f384f1e2ce67e66fa40e (patch)
tree289cf2fb53818502ef420da8ed0e6bddd2a7a5a8
parent1338bfa81c6eddc66f07c15225c3feff062182ce (diff)
test: Actually verify that two equivalent touch points are the same
I typo'd when fixing this at Peter's request and left off the '2' from the second variable name. Signed-off-by: Keith Packard <keithp@keithp.com>
-rw-r--r--test/touch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/touch.c b/test/touch.c
index 1364d615c..19c68784d 100644
--- a/test/touch.c
+++ b/test/touch.c
@@ -143,7 +143,7 @@ touch_find_ddxid(void)
ti = TouchFindByDDXID(&dev, 30, TRUE);
assert(ti != NULL);
ti2 = TouchFindByDDXID(&dev, 30, TRUE);
- assert(ti == ti);
+ assert(ti == ti2);
/* make sure we have resized */
assert(dev.last.num_touches == 8); /* EQ grows from 5 to 8 */