diff options
Diffstat (limited to 'infosatepg.cpp')
-rw-r--r-- | infosatepg.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/infosatepg.cpp b/infosatepg.cpp index 47c7da7..46ed9d3 100644 --- a/infosatepg.cpp +++ b/infosatepg.cpp @@ -255,7 +255,8 @@ bool cPluginInfosatepg::SetupParse(const char *Name, const char *Value) if (strlen(Name)<10) return false; tChannelID ChannelID=tChannelID::FromString(&Name[8]); if (ChannelID==tChannelID::InvalidID) return false; - global->AddChannel(ChannelID,atoi(Value)); + int val=atoi(Value); + global->AddChannel(ChannelID,(val & 0xFFFF),(val & 0xF0000)>>16); } else return false; return true; |