summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-27 12:44:31 +0000
committerDaniel Caujolle-Bert <f1rmb@users.sourceforge.net>2003-11-27 12:44:31 +0000
commit3543cd452ed706951a6c4dc720773226df141379 (patch)
tree228a0576ab1c162f847e68359504d4de20378597 /src
parent1a4d16c3fc57e7cc2eeeab36dc34cda26ed227df (diff)
downloadxine-lib-3543cd452ed706951a6c4dc720773226df141379.tar.gz
xine-lib-3543cd452ed706951a6c4dc720773226df141379.tar.bz2
pfff, et voilĂ , this is what happen when you sleep 4 hours a night... ;-)
CVS patchset: 5804 CVS date: 2003/11/27 12:44:31
Diffstat (limited to 'src')
-rw-r--r--src/xine-engine/scratch.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/xine-engine/scratch.c b/src/xine-engine/scratch.c
index 928d0106b..6652fc1a3 100644
--- a/src/xine-engine/scratch.c
+++ b/src/xine-engine/scratch.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: scratch.c,v 1.13 2003/11/27 09:10:10 f1rmb Exp $
+ * $Id: scratch.c,v 1.14 2003/11/27 12:44:31 f1rmb Exp $
*
* top-level xine functions
*
@@ -88,9 +88,8 @@ scratch_buffer_t *_x_new_scratch_buffer (int num_lines) {
this->ordered = xine_xmalloc (sizeof (char *) * (num_lines + 1));
mem = (char *) xine_xmalloc((sizeof(char) * SCRATCH_LINE_LEN_MAX) * num_lines);
- this->lines[0] = mem;
- for (i = 1; i < num_lines; i++)
+ for (i = 0; i < num_lines; i++)
this->lines[i] = (char *) (mem + i * SCRATCH_LINE_LEN_MAX);
this->ordered[i] = NULL;