mirror of
https://github.com/mpv-player/mpv
synced 2025-02-20 06:46:55 +00:00
10l? :)
patch by Stephane Jourdois <mplayer-dev-eng@rubis.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8821 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
cb66d1f0f7
commit
4681b22e3a
@ -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] = ' ';
|
||||
|
Loading…
Reference in New Issue
Block a user