diff options
author | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-11-27 12:45:23 +0000 |
---|---|---|
committer | Daniel Caujolle-Bert <f1rmb@users.sourceforge.net> | 2003-11-27 12:45:23 +0000 |
commit | 87a94f692f7dafe4127e8ea441cf476020064f11 (patch) | |
tree | 758060bc4968ee48ad120642b961f1a5f5e2d10e | |
parent | 3543cd452ed706951a6c4dc720773226df141379 (diff) | |
download | xine-lib-87a94f692f7dafe4127e8ea441cf476020064f11.tar.gz xine-lib-87a94f692f7dafe4127e8ea441cf476020064f11.tar.bz2 |
avoid confusion
CVS patchset: 5805
CVS date: 2003/11/27 12:45:23
-rw-r--r-- | src/xine-engine/scratch.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/xine-engine/scratch.c b/src/xine-engine/scratch.c index 6652fc1a3..bd054c1e1 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.14 2003/11/27 12:44:31 f1rmb Exp $ + * $Id: scratch.c,v 1.15 2003/11/27 12:45:23 f1rmb Exp $ * * top-level xine functions * @@ -90,7 +90,7 @@ scratch_buffer_t *_x_new_scratch_buffer (int num_lines) { mem = (char *) xine_xmalloc((sizeof(char) * SCRATCH_LINE_LEN_MAX) * num_lines); for (i = 0; i < num_lines; i++) - this->lines[i] = (char *) (mem + i * SCRATCH_LINE_LEN_MAX); + this->lines[i] = (char *) (mem + (i * SCRATCH_LINE_LEN_MAX)); this->ordered[i] = NULL; this->lines[i] = NULL; |