changeset 8820:56fc9c8a8692

10l? :) patch by Stephane Jourdois <mplayer-dev-eng@rubis.org>
author arpi
date Mon, 06 Jan 2003 13:12:09 +0000
parents 477d42e66e8b
children 76ec79da7a5c
files libmpdemux/tv.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/tv.c	Mon Jan 06 12:27:39 2003 +0000
+++ b/libmpdemux/tv.c	Mon Jan 06 13:12:09 2003 +0000
@@ -250,7 +250,7 @@
 
 		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] = ' ';