From 707bde1df29c7a9f9dee01542b03b50073922faa Mon Sep 17 00:00:00 2001 From: woohyun Date: Mon, 3 Oct 2011 08:02:07 +0000 Subject: [PATCH] edje/edje_entry : fixed small bugs and warnings git-svn-id: http://svn.enlightenment.org/svn/e/trunk/edje@63766 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/edje_entry.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/edje_entry.c b/src/lib/edje_entry.c index 0ddd22f..ffb44dc 100644 --- a/src/lib/edje_entry.c +++ b/src/lib/edje_entry.c @@ -1447,7 +1447,7 @@ _edje_key_up_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, voi } static void -_edje_part_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info) +_edje_part_move_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info __UNUSED__) { Edje_Real_Part *rp = data; Entry *en; @@ -2062,7 +2062,7 @@ _edje_entry_real_part_configure(Edje_Real_Part *rp) evas_object_geometry_get(rp->object, &x, &y, &w, &h); evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, NULL, cur_type); if (ww < 1) ww = 1; - if (hh < 1) ww = 1; + if (hh < 1) hh = 1; if (en->cursor_bg) { evas_object_move(en->cursor_bg, x + xx, y + yy); @@ -2335,7 +2335,7 @@ _edje_entry_cursor_geometry_get(Edje_Real_Part *rp, Evas_Coord *cx, Evas_Coord * evas_object_geometry_get(rp->object, &x, &y, &w, &h); evas_textblock_cursor_geometry_get(en->cursor, &xx, &yy, &ww, &hh, NULL, cur_type); if (ww < 1) ww = 1; - if (hh < 1) ww = 1; + if (hh < 1) hh = 1; if (cx) *cx = x + xx; if (cy) *cy = y + yy; if (cw) *cw = ww; -- 2.7.4