All pastes #639281 Raw Edit

Anonymous

public text v1 · immutable
#639281 ·published 2007-07-30 13:54 UTC
rendered paste body
Index: apps/playlist.c
===================================================================
--- apps/playlist.c     (revision 14071)
+++ apps/playlist.c     (working copy)
@@ -2349,7 +2349,7 @@
     strcpy(&playlist->buffer[playlist->buffer_end_pos], filename);
     playlist->buffer_end_pos += len;
     playlist->buffer[playlist->buffer_end_pos++] = '\0';
-
+    playlist->last_insert_pos = playlist->amount-1;
     return 0;
 }