forked from enlightenment/efl
Evas bidi: Fixed spelling errors: NATURAL -> NEUTRAL (Macro name).
SVN revision: 58760
This commit is contained in:
parent
57665ebf34
commit
cb19804054
|
@ -1839,7 +1839,6 @@ _layout_paragraph_new(Ctxt *c, Evas_Object_Textblock_Node_Text *n,
|
|||
c->par->visible = 1;
|
||||
#ifdef BIDI_SUPPORT
|
||||
c->par->bidi_props = evas_bidi_paragraph_props_new();
|
||||
c->par->bidi_props->direction = EVAS_BIDI_PARAGRAPH_NATURAL;
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
|
@ -275,7 +275,7 @@ evas_bidi_paragraph_props_get(const Eina_Unicode *eina_ustr, size_t len,
|
|||
|
||||
for (itr = segment_idxs ; *itr > 0 ; itr++)
|
||||
{
|
||||
direction = EVAS_BIDI_PARAGRAPH_NATURAL;
|
||||
direction = EVAS_BIDI_PARAGRAPH_NEUTRAL;
|
||||
if (!fribidi_get_par_embedding_levels(char_types + pos,
|
||||
*itr - pos,
|
||||
&direction,
|
||||
|
@ -302,7 +302,7 @@ evas_bidi_paragraph_props_get(const Eina_Unicode *eina_ustr, size_t len,
|
|||
pos = *itr + 1;
|
||||
}
|
||||
|
||||
direction = EVAS_BIDI_PARAGRAPH_NATURAL;
|
||||
direction = EVAS_BIDI_PARAGRAPH_NEUTRAL;
|
||||
if (!fribidi_get_par_embedding_levels(char_types + pos,
|
||||
len - pos,
|
||||
&direction,
|
||||
|
@ -560,7 +560,7 @@ evas_bidi_paragraph_props_new(void)
|
|||
{
|
||||
Evas_BiDi_Paragraph_Props *ret;
|
||||
ret = calloc(1, sizeof(Evas_BiDi_Paragraph_Props));
|
||||
ret->direction = EVAS_BIDI_PARAGRAPH_NATURAL;
|
||||
ret->direction = EVAS_BIDI_PARAGRAPH_NEUTRAL;
|
||||
ret->refcount = 1;
|
||||
|
||||
return ret;
|
||||
|
|
|
@ -85,7 +85,7 @@ struct _Evas_BiDi_Props
|
|||
#ifdef USE_FRIBIDI
|
||||
|
||||
|
||||
#define EVAS_BIDI_PARAGRAPH_NATURAL FRIBIDI_PAR_ON
|
||||
#define EVAS_BIDI_PARAGRAPH_NEUTRAL FRIBIDI_PAR_ON
|
||||
#define EVAS_BIDI_PARAGRAPH_LTR FRIBIDI_PAR_LTR
|
||||
#define EVAS_BIDI_PARAGRAPH_RTL FRIBIDI_PAR_RTL
|
||||
#define EVAS_BIDI_PARAGRAPH_WLTR FRIBIDI_PAR_WLTR
|
||||
|
|
Loading…
Reference in New Issue