diff options
author | Holger Zickner <[email protected]> | 2004-07-08 15:58:48 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2004-07-08 15:58:48 +0000 |
commit | 4f13ea26c4f47e54e66926f0700cf631e7bb3352 (patch) | |
tree | a9d434fc462417bb981b1565fd64cea5e7c82c15 /src/jake2/game/Info.java | |
parent | 76839da3568e20f51220584d1fc92841b216505a (diff) |
import of Jake2 version hannover
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; } |