From 4681b22e3ae31b39bf15f36699208088f23f3ace Mon Sep 17 00:00:00 2001 From: arpi Date: Mon, 6 Jan 2003 13:12:09 +0000 Subject: [PATCH] 10l? :) patch by Stephane Jourdois git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8821 b3059339-0415-0410-9bf9-f77b7e298cf2 --- libmpdemux/tv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libmpdemux/tv.c b/libmpdemux/tv.c index f3a42d156e..3bff4b4e19 100644 --- a/libmpdemux/tv.c +++ b/libmpdemux/tv.c @@ -250,7 +250,7 @@ static int open_tv(tvi_handle_t *tvh) strcpy(tv_channel_current->name, strchr(tmp, '-') + 1); strchr(tmp, '-')[0] = '\0'; - strncpy(tv_channel_current->number, tmp, 4); + strncpy(tv_channel_current->number, tmp, 5); while (strchr(tv_channel_current->name, '_')) strchr(tv_channel_current->name, '_')[0] = ' ';