From fb7994e0d95dc61bcfd2670db60da6dc652a1fbc Mon Sep 17 00:00:00 2001 From: Yakov Goldberg Date: Thu, 4 Apr 2013 14:26:52 +0300 Subject: [PATCH] evas/font: fixing tests Signed-off-by: Yakov Goldberg --- src/tests/evas/evas_test_text.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/tests/evas/evas_test_text.c b/src/tests/evas/evas_test_text.c index 9db4fcfa0d..939ba1dd9a 100644 --- a/src/tests/evas/evas_test_text.c +++ b/src/tests/evas/evas_test_text.c @@ -118,7 +118,7 @@ START_TEST(evas_text_geometries) px = x; /* Get back the coords */ fail_if(i != evas_object_text_char_coords_get(to, x + (w / 4), - y + (h / 2), &x, &y, &w, &h)); + y + (h / 2), NULL, NULL, NULL, NULL)); /* Get back cursor position, if click on right half of char. */ fail_if((i + 1) != evas_object_text_char_coords_get(to, x + ((3 * w) / 4), y + (h / 2), &x, &y, &w, &h)); @@ -457,7 +457,7 @@ START_TEST(evas_text_bidi) fail_if(x <= px); px = x; /* Get back the coords */ - fail_if(i != evas_object_text_char_coords_get(to, x + (w / 2), + fail_if(i != evas_object_text_char_coords_get(to, x + (w / 4), y + (h / 2), &x, &y, &w, &h)); }