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.
This commit is contained in:
Tom Hacohen 2015-04-22 13:11:52 +01:00
parent 811058a1ff
commit 450ff212e2
1 changed files with 2 additions and 2 deletions

View File

@ -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,