tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=450ff212e2d184a5b5f3dbbaf11ec9555a24dbb2

commit 450ff212e2d184a5b5f3dbbaf11ec9555a24dbb2
Author: Tom Hacohen <t...@stosb.com>
Date:   Wed Apr 22 13:11:52 2015 +0100

    Evas text utils: move the non-ot function into the current ifdef.
    
    This function should only be build when OT is off. Move
    it to the #else part of the ifdef.
---
 src/lib/evas/common/evas_text_utils.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/evas/common/evas_text_utils.c 
b/src/lib/evas/common/evas_text_utils.c
index dc2407f..bef21fe 100644
--- a/src/lib/evas/common/evas_text_utils.c
+++ b/src/lib/evas/common/evas_text_utils.c
@@ -409,8 +409,7 @@ _content_create_ot(RGBA_Font_Int *fi, const Eina_Unicode 
*text,
         gl_itr++;
      }
 }
-#endif
-
+#else
 static inline void
 _content_create_regular(RGBA_Font_Int *fi, const Eina_Unicode *text,
       Evas_Text_Props *text_props, const Evas_BiDi_Paragraph_Props *par_props,
@@ -516,6 +515,7 @@ _content_create_regular(RGBA_Font_Int *fi, const 
Eina_Unicode *text,
       free(base_str);
 # endif
 }
+#endif
 
 EAPI Eina_Bool
 evas_common_text_props_content_create(void *_fi, const Eina_Unicode *text,

-- 


Reply via email to