yakov pushed a commit to branch master.
commit fb7994e0d95dc61bcfd2670db60da6dc652a1fbc
Author: Yakov Goldberg <[email protected]>
Date: Thu Apr 4 14:26:52 2013 +0300
evas/font: fixing tests
Signed-off-by: Yakov Goldberg <[email protected]>
---
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 9db4fcf..939ba1d 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));
}
--
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html