forked from enlightenment/efl
declare variables at the beginning of the block
SVN revision: 55545
This commit is contained in:
parent
d3cd14c805
commit
3aedf59c9b
|
@ -79,8 +79,10 @@ _edje_box_layout_exec(Evas_Object *obj, Edje_Part_Box_Animation *anim)
|
|||
Edje_Transition_Animation_Data *tad;
|
||||
Evas_Coord x, y, w, h;
|
||||
Evas_Coord cur_x, cur_y, cur_w, cur_h;
|
||||
double progress;
|
||||
|
||||
evas_object_geometry_get(obj, &x, &y, &w, &h);
|
||||
double progress = (anim->progress - anim->start_progress) / (1 - anim->start_progress);
|
||||
progress = (anim->progress - anim->start_progress) / (1 - anim->start_progress);
|
||||
|
||||
EINA_LIST_FOREACH(anim->objs, l, tad)
|
||||
{
|
||||
|
|
|
@ -2457,9 +2457,12 @@ void
|
|||
_edje_entry_cursor_copy(Edje_Real_Part *rp, Edje_Cursor cur, Edje_Cursor dst)
|
||||
{
|
||||
Entry *en = rp->entry_data;
|
||||
Evas_Textblock_Cursor *c = _cursor_get(rp, cur);
|
||||
Evas_Textblock_Cursor *c;
|
||||
Evas_Textblock_Cursor *d;
|
||||
|
||||
c = _cursor_get(rp, cur);
|
||||
if (!c) return;
|
||||
Evas_Textblock_Cursor *d = _cursor_get(rp, dst);
|
||||
d = _cursor_get(rp, dst);
|
||||
if (!d) return;
|
||||
evas_textblock_cursor_copy(c, d);
|
||||
_curs_update_from_curs(c, rp->object, rp->entry_data);
|
||||
|
|
Loading…
Reference in New Issue