diff options
author | Carsten Weisse <[email protected]> | 2004-10-29 00:20:05 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2004-10-29 00:20:05 +0000 |
commit | 7a4681fc78189b96d1e3ca1c84b62ed9e8f88f01 (patch) | |
tree | c53fba4e7bdf410325ff7d19c584e49b5bb0c20f | |
parent | 62ce7036a937a4585049dca4ffd4340a6b33aa01 (diff) |
it should work now :-)
-rw-r--r-- | src/jake2/game/Cmd.java | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/jake2/game/Cmd.java b/src/jake2/game/Cmd.java index 2d9bc86..ef7dd77 100644 --- a/src/jake2/game/Cmd.java +++ b/src/jake2/game/Cmd.java @@ -2,7 +2,7 @@ * Cmd.java * Copyright (C) 2003 * - * $Id: Cmd.java,v 1.7 2004-10-28 23:50:29 cawe Exp $ + * $Id: Cmd.java,v 1.8 2004-10-29 00:20:05 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -218,8 +218,7 @@ public final class Cmd { System.arraycopy(token.toCharArray(), 0, temporary, i, token.length()); //strcpy(temporary + i + j, start); - System.arraycopy(ph.data, ph.index, temporary, i + j, len - - ph.index - 1); + System.arraycopy(ph.data, ph.index, temporary, i + j, len - ph.index - j); //strcpy(expanded, temporary); System.arraycopy(temporary, 0, expanded, 0, 0); |