summaryrefslogtreecommitdiff
blob: 926c33bc9577d0bdd196a373641fd73d5c6d1ec9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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 */