fixed channel changing with frequencies.c

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4243 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
alex 2002-01-18 19:37:12 +00:00
parent fd48206c56
commit b12f049942
1 changed files with 1 additions and 1 deletions

View File

@ -470,7 +470,7 @@ int tv_step_channel(tvi_handle_t *tvh, int direction)
if (direction == TV_CHANNEL_HIGHER)
{
if (tvh->channel+1 <= chanlists[tvh->chanlist].count)
if (tvh->channel+1 < chanlists[tvh->chanlist].count)
{
cl = tvh->chanlist_s[tvh->channel++];
mp_msg(MSGT_TV, MSGL_INFO, "Selected channel: %s (freq: %.3f)\n",