aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client/Key.java
diff options
context:
space:
mode:
authorCarsten Weisse <[email protected]>2005-12-18 22:10:13 +0000
committerCarsten Weisse <[email protected]>2005-12-18 22:10:13 +0000
commit90135445c8833ff11a31bf37fa09a0b265904b55 (patch)
tree759086613c7c5dcab243ce690d7a9b8556fad534 /src/jake2/client/Key.java
parent2b242d9d77cb7b04538f3434bdc5c95a7e1d763c (diff)
byte[] <--> String
with latin 1 alias ISO-8859-1
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..f896a2c 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.12 2005-12-18 22:10:12 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++] = ' ';