asdfuser pushed a commit to branch master.
commit ec06d04b29454e1d1008525812bc43c4aa4c08ed
Author: Daniel Willmann <[email protected]>
Date: Tue Jun 11 12:46:04 2013 +0100
els_tooltip.c: Initialize px and py to zero
px and py might not be set if X support is not compiled in and
ecore_x_pointer_xy_get() is not called. In that case make sure they are
not used uninitialized.
Signed-off-by: Daniel Willmann <[email protected]>
---
src/lib/els_tooltip.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/lib/els_tooltip.c b/src/lib/els_tooltip.c
index 5df3f2e..e7164a6 100644
--- a/src/lib/els_tooltip.c
+++ b/src/lib/els_tooltip.c
@@ -265,7 +265,7 @@ _elm_tooltip_hide_anim_stop(Elm_Tooltip *tt)
static void
_elm_tooltip_reconfigure(Elm_Tooltip *tt)
{
- Evas_Coord ox, oy, ow, oh, px, py, tx, ty, tw, th, cw = 0, ch = 0;
+ Evas_Coord ox, oy, ow, oh, px = 0, py = 0, tx, ty, tw, th, cw = 0, ch = 0;
Evas_Coord eminw, eminh, ominw, ominh;
double rel_x, rel_y;
Eina_Bool inside_eventarea;
--
------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:
Build for Windows Store.
http://p.sf.net/sfu/windows-dev2dev