Message ID | 422B51A8.80309@ventoso.org |
---|---|
State | New |
Headers |
Commit Message
--- channels.c.good 2005-01-16 16:22:11.301562790 +0100 +++ channels.c 2005-01-16 16:33:39.220096252 +0100 @@ -980,6 +980,14 @@ groupSep->SetName(buffer, "", ""); groupSep->SetGroupSep(true); Add(groupSep); + } else // find next separator or last channel + { + cChannel *nextChannel=Next(groupSep); + while (nextChannel && !nextChannel->GroupSep()) + { + groupSep=nextChannel; + nextChannel=Next(nextChannel); + } } Add(NewChannel, groupSep); }