Update of /cvsroot/jake2/jake2/src/jake2/client
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25578/src/jake2/client
Modified Files:
Console.java
Log Message:
make sure not to exceed max line size in Console fixes bug 1230166
Index: Console.java
===================================================================
RCS file: /cvsroot/jake2/jake2/src/jake2/client/Console.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** Console.java 28 Oct 2004 23:41:27 -0000 1.6
--- Console.java 30 Jun 2005 08:36:22 -0000 1.7
***************
*** 174,177 ****
--- 174,178 ----
int width = (Globals.viddef.width >> 3) - 2;
+ if (width > Defines.MAXCMDLINE) width = Defines.MAXCMDLINE;
if (width == Globals.con.linewidth)
|