aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client/Key.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-12-25 18:16:38 +0000
committerCarsten Weisse <[email protected]>2005-12-25 18:16:38 +0000
commit5963b5a170a9e4fe82d42c6c516c084100e5e509 (patch)
tree83238c82a82ce42ad04e598fd0e4db6dd89d3e51 /src/jake2/client/Key.java
parent87902f0e11032aa388ce9f1e15e2b997f017f78c (diff)
merge with current HEAD
Diffstat (limited to 'src/jake2/client/Key.java')
-rw-r--r--src/jake2/client/Key.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/client/Key.java b/src/jake2/client/Key.java
index 1787262..c9b2a13 100644
--- a/src/jake2/client/Key.java
+++ b/src/jake2/client/Key.java
@@ -2,7 +2,7 @@
* Key.java
* Copyright (C) 2003
*
- * $Id: Key.java,v 1.11 2005-06-07 12:57:21 hzi Exp $
+ * $Id: Key.java,v 1.11.4.1 2005-12-25 18:11:24 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -704,7 +704,7 @@ public class Key extends Globals {
} else return;
key_lines[edit_line][1] = '/';
- byte[] bytes = s.getBytes();
+ byte[] bytes = Lib.stringToBytes(s);
System.arraycopy(bytes, 0, key_lines[edit_line], 2, bytes.length);
key_linepos = bytes.length + 2;
key_lines[edit_line][key_linepos++] = ' ';