From 720cf6790c4f77f014a2694d1a5f1c18fafd7839 Mon Sep 17 00:00:00 2001 From: tasn Date: Mon, 22 Aug 2011 08:23:04 +0000 Subject: [PATCH] Evas font: Revert last 2 commits by Hermet (62659, 62675). SPANK SPANK, they broke compilation. Please use the builtin revert functions when you revert commits. Either: GIT: 'git revert ' (yeah, git is better). or SVN: 'svn merge -c .' This will prevent this kind of erros from happenning in the future. Also, plesae compile before committing. git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@62678 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/engines/common/evas_font_default_walk.x | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/lib/engines/common/evas_font_default_walk.x b/src/lib/engines/common/evas_font_default_walk.x index 298694d..56807b8 100644 --- a/src/lib/engines/common/evas_font_default_walk.x +++ b/src/lib/engines/common/evas_font_default_walk.x @@ -53,21 +53,21 @@ /*FIXME: doc */ #ifdef OT_SUPPORT # define EVAS_FONT_WALK_X_OFF \ - (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_X_OFF_GET(*_ot_itr)) + (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_X_OFF_GET(*_ot_itr))) # define EVAS_FONT_WALK_Y_OFF \ - (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_Y_OFF_GET(*_ot_itr)) + (EVAS_FONT_ROUND_26_6_TO_INT(EVAS_FONT_OT_Y_OFF_GET(*_ot_itr))) # define EVAS_FONT_WALK_POS \ - (EVAS_FONT_OT_POS_GET(*_ot_itr) - text_props->text_offset) + (EVAS_FONT_OT_POS_GET(*_ot_itr) - text_props->text_offset) # define EVAS_FONT_WALK_POS_NEXT \ ((!EVAS_FONT_WALK_IS_LAST) ? \ - (EVAS_FONT_OT_POS_GET(*(_ot_itr + 1)) \ - - text_props->text_offset : \ + EVAS_FONT_OT_POS_GET(*(_ot_itr + 1)) - \ + text_props->text_offset : \ EVAS_FONT_WALK_POS \ ) # define EVAS_FONT_WALK_POS_PREV \ ((char_index > 0) ? \ - (EVAS_FONT_OT_POS_GET(*(_ot_itr - 1)) \ - - text_props->text_offset : \ + EVAS_FONT_OT_POS_GET(*(_ot_itr - 1)) - \ + text_props->text_offset : \ EVAS_FONT_WALK_POS \ ) #else -- 2.7.4