aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/jake2/client/Console.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jake2/client/Console.java b/src/jake2/client/Console.java
index f9ed726..9ceb7fd 100644
--- a/src/jake2/client/Console.java
+++ b/src/jake2/client/Console.java
@@ -2,7 +2,7 @@
* Con.java
* Copyright (C) 2003
*
- * $Id: Console.java,v 1.6 2004-10-28 23:41:27 cawe Exp $
+ * $Id: Console.java,v 1.7 2005-06-30 08:36:22 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -173,6 +173,7 @@ public final class Console extends Globals {
public static void CheckResize() {
int width = (Globals.viddef.width >> 3) - 2;
+ if (width > Defines.MAXCMDLINE) width = Defines.MAXCMDLINE;
if (width == Globals.con.linewidth)
return;