aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon/Cbuf.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-09-06 19:39:21 +0000
committerHolger Zickner <[email protected]>2004-09-06 19:39:21 +0000
commit8f144736583c3b4bc4e6334ab96324094444c595 (patch)
treeaaf2b9fbd0c9afeceb2b389672981b2878ce31a3 /src/jake2/qcommon/Cbuf.java
parent5483a5627904f143a3e2e00c96f7db6a188d1ec0 (diff)
merge changes for 0.9.3
Diffstat (limited to 'src/jake2/qcommon/Cbuf.java')
-rw-r--r--src/jake2/qcommon/Cbuf.java5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jake2/qcommon/Cbuf.java b/src/jake2/qcommon/Cbuf.java
index 5281081..f80f0ce 100644
--- a/src/jake2/qcommon/Cbuf.java
+++ b/src/jake2/qcommon/Cbuf.java
@@ -2,7 +2,7 @@
* Cbuf.java
* Copyright (C) 2003
*
- * $Id: Cbuf.java,v 1.2 2004-07-08 15:58:46 hzi Exp $
+ * $Id: Cbuf.java,v 1.2.2.1 2004-09-06 19:39:19 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -28,7 +28,6 @@ package jake2.qcommon;
import jake2.Defines;
import jake2.Globals;
import jake2.game.Cmd;
-import jake2.util.Lib;
/**
* Cbuf
@@ -229,7 +228,7 @@ public final class Cbuf {
============
*/
public static void CopyToDefer() {
- Lib.memcpy(Globals.defer_text_buf, Globals.cmd_text_buf, Globals.cmd_text.cursize);
+ System.arraycopy(Globals.cmd_text_buf, 0, Globals.defer_text_buf, 0, Globals.cmd_text.cursize);
Globals.defer_text_buf[Globals.cmd_text.cursize] = 0;
Globals.cmd_text.cursize = 0;
}