| diff -urNad vdr-plugin-decruft-0.0.4~/cruft.c vdr-plugin-decruft-0.0.4/cruft.c |
| --- vdr-plugin-decruft-0.0.4~/cruft.c 2005-02-20 19:34:01.000000000 +0100 |
| +++ vdr-plugin-decruft-0.0.4/cruft.c 2006-11-11 21:57:24.000000000 +0100 |
| @@ -535,8 +535,10 @@ |
| /* Not defined, so define it */ |
| if ( !groupSep ) { |
| groupSep = new cChannel(); |
| - groupSep->SetName(settings->group_name,"",""); |
| - groupSep->SetGroupSep(true); |
| + char* groupSepString; |
| + asprintf(&groupSepString, ":%s", settings->group_name); |
| + groupSep->Parse(groupSepString); |
| + free(groupSepString); |
| Channels.Add(groupSep); |
| } |
| /* Move the channel to the end of the group */ |
| |