summaryrefslogtreecommitdiff
path: root/channelgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'channelgroups.c')
-rw-r--r--channelgroups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/channelgroups.c b/channelgroups.c
index 06e3285..8447ba4 100644
--- a/channelgroups.c
+++ b/channelgroups.c
@@ -41,7 +41,7 @@ void cChannelGroups::ReadChannelGroups(void) {
}
if (channelGroups.size() > 0) {
channelGroups[channelGroups.size()-1].SetChannelStop(lastChannelNumber);
- if ((tvguideConfig.hideLastGroup)&&(channelGroups.size() > 1)) {
+ if ((config.hideLastGroup)&&(channelGroups.size() > 1)) {
channelGroups.pop_back();
}
}
@@ -96,7 +96,7 @@ int cChannelGroups::GetNextGroupChannelNumber(const cChannel *channel) {
}
bool cChannelGroups::IsInLastGroup(const cChannel *channel) {
- if (!tvguideConfig.hideLastGroup)
+ if (!config.hideLastGroup)
return false;
if (channelGroups.size() > 0) {
if (channel->Number() > channelGroups[channelGroups.size()-1].StopChannel()) {