aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/qcommon/Cbuf.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-07-12 20:47:02 +0000
committerHolger Zickner <[email protected]>2004-07-12 20:47:02 +0000
commit4dca2574fe978cb98a9320f6db8176ee77973e91 (patch)
tree6cd1d23b2136f4f3817de7a0ba71c6f0d9ff52d3 /src/jake2/qcommon/Cbuf.java
parent25252922d19cd51c8bf7a3544d6b2a82c8a26fff (diff)
cleanups
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..84dea9c 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.3 2004-07-12 20:47:00 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;
}