edje_cc - fix inheritance of programs and store channel too in copy

this fixes programs that inherit and play audio on specific channels.
i found that sound worked on single line entries but not multipline
beause single line inherit from multi but didnt copy this program
param - the channel number. this fixes this

@fix
This commit is contained in:
Carsten Haitzler 2016-08-06 19:10:24 +09:00
parent 9e09c46574
commit a71f0ed24b
1 changed files with 1 additions and 0 deletions

View File

@ -2048,6 +2048,7 @@ _edje_program_copy(Edje_Program *ep, Edje_Program *ep2)
ep->tone_name = STRDUP(ep2->tone_name);
ep->duration = ep2->duration;
ep->speed = ep2->speed;
ep->channel = ep2->channel;
EINA_LIST_FOREACH(ep2->targets, l, et2)
{