diff options
Diffstat (limited to 'src/jake2/game/Info.java')
-rw-r--r-- | src/jake2/game/Info.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/jake2/game/Info.java b/src/jake2/game/Info.java index 7b23ed6..b81322c 100644 --- a/src/jake2/game/Info.java +++ b/src/jake2/game/Info.java @@ -19,7 +19,7 @@ Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ // Created on 27.12.2003 by RST. -// $Id: Info.java,v 1.1 2004-07-07 19:59:07 hzi Exp $ +// $Id: Info.java,v 1.2 2004-07-08 15:58:44 hzi Exp $ package jake2.game; @@ -75,7 +75,7 @@ public class Info extends PlayerView { return s; } - if (strlen(key) > MAX_INFO_KEY - 1 || strlen(value) > MAX_INFO_KEY - 1) { + if (key.length() > MAX_INFO_KEY - 1 || value.length() > MAX_INFO_KEY - 1) { Com.Printf("Keys and values must be < 64 characters.\n"); return s; } |