From: tasn Date: Tue, 31 May 2011 12:55:46 +0000 (+0000) Subject: Evas bidi: Fixed warning when compiling with Wshadow. X-Git-Tag: submit/trunk/20120815.174732~1407 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4e3c01dd27826f6d6cb023f0e813a8c4a4782fa9;p=profile%2Fivi%2Fevas.git Evas bidi: Fixed warning when compiling with Wshadow. git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@59842 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- diff --git a/src/lib/engines/common/language/evas_bidi_utils.c b/src/lib/engines/common/language/evas_bidi_utils.c index b0cdeef..a6f0274 100644 --- a/src/lib/engines/common/language/evas_bidi_utils.c +++ b/src/lib/engines/common/language/evas_bidi_utils.c @@ -539,12 +539,12 @@ evas_bidi_position_reverse(const Evas_BiDi_Props *props, int len, EvasBiDiStrInd * @return #EINA_TRUE if true, #EINA_FALSE otherwise. */ Eina_Bool -evas_bidi_is_rtl_char(const Evas_BiDi_Paragraph_Props *bidi_props, size_t start, EvasBiDiStrIndex index) +evas_bidi_is_rtl_char(const Evas_BiDi_Paragraph_Props *bidi_props, size_t start, EvasBiDiStrIndex ind) { - if(!bidi_props || index < 0) + if(!bidi_props || ind < 0) return EINA_FALSE; return (FRIBIDI_IS_RTL( - bidi_props->embedding_levels[index + start])) + bidi_props->embedding_levels[ind + start])) ? EINA_TRUE : EINA_FALSE; }