forked from enlightenment/efl
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 <d.willmann@samsung.com>
This commit is contained in:
parent
4d40f16f5e
commit
363da34f27
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue