From: Darren S. <ds...@us...> - 2005-04-25 23:54:53
|
Update of /cvsroot/xine/gnome-xine/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17436/src Modified Files: drag_drop.c Log Message: Fix an off-by-one which was introduced by the last fix. Index: drag_drop.c =================================================================== RCS file: /cvsroot/xine/gnome-xine/src/drag_drop.c,v retrieving revision 1.9 retrieving revision 1.10 diff -u -r1.9 -r1.10 --- drag_drop.c 25 Apr 2005 22:40:50 -0000 1.9 +++ drag_drop.c 25 Apr 2005 23:54:45 -0000 1.10 @@ -49,7 +49,7 @@ str[++len] = c; else if ((c == '\r' || c == '\n') && len > 0) { - str[len] = 0; + str[len + 1] = 0; if (first < 0) first = playlist_add_mrl (str, ins_pos); else |