edge -> no ev. dont seg

SVN revision: 49884
This commit is contained in:
Carsten Haitzler 2010-06-27 08:35:59 +00:00
parent 6e445ae53c
commit 94eb10404e
1 changed files with 85 additions and 82 deletions

View File

@ -1214,6 +1214,7 @@ ACT_FN_GO_EDGE(desk_flip_in_direction, )
E_Event_Pointer_Warp *wev;
int x, y, offset = 25;
if (!ev) return; // with flip on _e_zone_cb_edge_timer we don't have ev!!!
zone = _e_actions_zone_get(obj);
wev = E_NEW(E_Event_Pointer_Warp, 1);
if ((!wev) || (!zone)) return;
@ -2270,8 +2271,10 @@ ACT_FN_GO_EDGE(shelf_show, )
if (params)
{
for (; *params != '\0'; params++)
{
if (!isspace(*params))
break;
}
if (*params == '\0')
params = NULL;
}