CVS: main playtreeparser.c,1.7,1.8
22 Apr
2002
22 Apr
'02
2:42 p.m.
Update of /cvsroot/mplayer/main In directory mail:/var/tmp.root/cvs-serv11333 Modified Files: playtreeparser.c Log Message: Fix a bug produced when line are terminated with \r\n and not a single \n Index: playtreeparser.c =================================================================== RCS file: /cvsroot/mplayer/main/playtreeparser.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -r1.7 -r1.8 --- playtreeparser.c 25 Feb 2002 11:13:34 -0000 1.7 +++ playtreeparser.c 22 Apr 2002 18:42:42 -0000 1.8 @@ -93,7 +93,7 @@ if(!p->keep) { if(end[0] != '\0') { - p->buffer_end -= strlen(p->line)+1; + p->buffer_end -= end-p->iter; memmove(p->buffer,end,p->buffer_end); } else p->buffer_end = 0;
8604
Age (days ago)
8604
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alban Bedel CVS