billiob pushed a commit to branch master.
commit d63629ccbf828e53d13ee29eaf5d50e19d24d768
Author: Boris Faure <[email protected]>
Date: Mon Aug 26 21:05:09 2013 +0200
fix 58ec67bfa about removing shadow variables
---
src/bin/termio.c | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/src/bin/termio.c b/src/bin/termio.c
index b9cfb6e..b6e343f 100644
--- a/src/bin/termio.c
+++ b/src/bin/termio.c
@@ -468,14 +468,13 @@ _update_link(Evas_Object *obj, Termio *sd,
{
if ((sd->link.string[0] == '/') ||
(link_is_url(sd->link.string)))
{
+ Evas_Coord _x = ox, _y = oy;
Ecore_X_Window xwin;
- evas_object_geometry_get(obj, &ox, &oy, NULL, NULL);
-
- ox += sd->mouse.cx * sd->font.chw;
- oy += sd->mouse.cy * sd->font.chh;
+ _x += sd->mouse.cx * sd->font.chw;
+ _y += sd->mouse.cy * sd->font.chh;
xwin = elm_win_xwindow_get(sd->win);
- ty_dbus_link_mousein(xwin, sd->link.string, ox, oy);
+ ty_dbus_link_mousein(xwin, sd->link.string, _x, _y);
}
for (y = sd->link.y1; y <= sd->link.y2; y++)
{
--
------------------------------------------------------------------------------
Introducing Performance Central, a new site from SourceForge and
AppDynamics. Performance Central is your source for news, insights,
analysis and resources for efficient Application Performance Management.
Visit us today!
http://pubads.g.doubleclick.net/gampad/clk?id=48897511&iu=/4140/ostg.clktrk