If mouse button is 1, we don't need Instance data so check that first.

SVN revision: 43768
This commit is contained in:
Christopher Michael 2009-11-18 03:18:56 +00:00
parent d1b0918957
commit 849f3f9e15
1 changed files with 1 additions and 1 deletions

View File

@ -201,9 +201,9 @@ _il_home_btn_cb_mouse_down(void *data, Evas *evas, Evas_Object *obj, void *event
Instance *inst;
Evas_Event_Mouse_Down *ev;
if (!(inst = data)) return;
ev = event;
if (ev->button == 1) return;
if (!(inst = data)) return;
if ((ev->button == 3) && (!inst->menu))
{
E_Menu *mn;