summaryrefslogtreecommitdiff
path: root/pages
diff options
context:
space:
mode:
Diffstat (limited to 'pages')
-rw-r--r--pages/multischedule.ecpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/pages/multischedule.ecpp b/pages/multischedule.ecpp
index 39bf20a..f73bff6 100644
--- a/pages/multischedule.ecpp
+++ b/pages/multischedule.ecpp
@@ -167,7 +167,7 @@ pageTitle = tr("MultiSchedule");
}
}
- if ( channel >= channel_groups_numbers.size() )
+ if ( channel >= (int)channel_groups_numbers.size() )
channel = 0;
channel_group = channel;
{
@@ -282,7 +282,7 @@ pageTitle = tr("MultiSchedule");
std::list<SchedEntry> table[MAX_CHANNELS];
std::vector<std::string> channel_names(channel_groups_numbers[ channel ].size() );
std::vector<tChannelID> channel_IDs(channel_groups_numbers[ channel ].size() );
- if ( channel >= channel_groups_numbers.size() )
+ if ( channel >= (int)channel_groups_numbers.size() )
channel = channel_groups_numbers.size()-1;
//for ( int chan = 0; chan<MAX_CHANNELS; chan++)
for ( unsigned int j = 0; j<channel_groups_numbers[ channel ].size(); j++)
@@ -381,7 +381,7 @@ pageTitle = tr("MultiSchedule");
for ( unsigned int channel = 0; channel< channel_names.size() ; channel++)
{
</%cpp>
- <td> <div class="boxheader"> <div> <div><$ StringEscapeAndBreak(channel_names[channel]) $>
+ <td> <div class="boxheader"> <div> <div><$ channel_names[channel] $> <# reply.sout() automatically escapes special characters to html entities #>
<& pageelems.ajax_action_href action="switch_channel" tip=(tr("Switch to this channel.")) param=(channel_IDs[channel]) image="zap.png" alt="" &>
<& pageelems.vlc_stream_channel channelId=(channel_IDs[channel]) &>
</div></div> </div></td>