indeed - alloc enough space for the message as a whole - alloc only

alloced 1 extra float in addition to the one already there. need an
extra 4.



SVN revision: 64401
This commit is contained in:
Carsten Haitzler 2011-10-25 23:49:58 +00:00
parent 61663aba49
commit 5dddceedc5
1 changed files with 1 additions and 1 deletions

View File

@ -237,7 +237,7 @@ e_desk_show(E_Desk *desk)
desk->zone->desk_y_current = desk->y;
desk->visible = 1;
msg = alloca(sizeof(Edje_Message_Float_Set) + sizeof(double));
msg = alloca(sizeof(Edje_Message_Float_Set) + (4 * sizeof(double)));
msg->count = 5;
msg->val[0] = e_config->desk_flip_animate_time;
msg->val[1] = (double) desk->x;