diff options
author | Carsten Weisse <[email protected]> | 2005-12-18 22:10:13 +0000 |
---|---|---|
committer | Carsten Weisse <[email protected]> | 2005-12-18 22:10:13 +0000 |
commit | 90135445c8833ff11a31bf37fa09a0b265904b55 (patch) | |
tree | 759086613c7c5dcab243ce690d7a9b8556fad534 /src/jake2/qcommon/Cbuf.java | |
parent | 2b242d9d77cb7b04538f3434bdc5c95a7e1d763c (diff) |
byte[] <--> String
with latin 1 alias ISO-8859-1
Diffstat (limited to 'src/jake2/qcommon/Cbuf.java')
-rw-r--r-- | src/jake2/qcommon/Cbuf.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/qcommon/Cbuf.java b/src/jake2/qcommon/Cbuf.java index 593c058..1d4c4b1 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.7 2005-02-19 11:12:42 salomo Exp $ + * $Id: Cbuf.java,v 1.8 2005-12-18 22:10:09 cawe Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -145,7 +145,7 @@ public final class Cbuf { Com.Printf("Cbuf_AddText: overflow\n"); return; } - SZ.Write(Globals.cmd_text, text.getBytes(), l); + SZ.Write(Globals.cmd_text, Lib.stringToBytes(text), l); } /** |