changeset 33427:ebee3b6ab9ce

Fix 0-termination being placed one byte too far. Part of patch by Ivan Kalvachev [ikalvachev gmail com].
author reimar
date Sun, 29 May 2011 11:45:47 +0000
parents fe99e2d4ffb1
children 043d9e61e043
files stream/stream_cue.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/stream/stream_cue.c	Sun May 29 11:43:38 2011 +0000
+++ b/stream/stream_cue.c	Sun May 29 11:45:47 2011 +0000
@@ -205,7 +205,7 @@
           i++;
       }
     }
-    bin_filename[i+1] = '\0';
+    bin_filename[i] = '\0';
 
   }