From c3fe7b3aa893bcea25e407e9412ac649522743b7 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 12 Jun 2012 15:25:27 +0000 Subject: [PATCH] Evas: Unbreak evas. Apparently it doesn't compile in some cases. Thanks to mekius for reporting. SVN revision: 72036 --- .../evas/src/lib/engines/common/evas_text_utils.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/legacy/evas/src/lib/engines/common/evas_text_utils.h b/legacy/evas/src/lib/engines/common/evas_text_utils.h index ba5ef3736d..69489d0c5b 100644 --- a/legacy/evas/src/lib/engines/common/evas_text_utils.h +++ b/legacy/evas/src/lib/engines/common/evas_text_utils.h @@ -5,6 +5,12 @@ typedef struct _Evas_Text_Props Evas_Text_Props; typedef struct _Evas_Text_Props_Info Evas_Text_Props_Info; typedef struct _Evas_Font_Glyph_Info Evas_Font_Glyph_Info; +typedef enum +{ + EVAS_TEXT_PROPS_MODE_NONE = 0, + EVAS_TEXT_PROPS_MODE_SHAPE +} Evas_Text_Props_Mode; + # include "evas_font_ot.h" # include "language/evas_bidi_utils.h" # include "language/evas_language_utils.h" @@ -53,13 +59,6 @@ struct _Evas_Font_Glyph_Info Evas_Coord pen_after; }; -typedef enum -{ - EVAS_TEXT_PROPS_MODE_NONE = 0, - EVAS_TEXT_PROPS_MODE_SHAPE -} Evas_Text_Props_Mode; - - void evas_common_text_props_bidi_set(Evas_Text_Props *props, Evas_BiDi_Paragraph_Props *bidi_par_props, size_t start);