aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/client/Console.java
diff options
context:
space:
mode:
authorHolger Zickner <[email protected]>2004-07-08 15:58:48 +0000
committerHolger Zickner <[email protected]>2004-07-08 15:58:48 +0000
commit4f13ea26c4f47e54e66926f0700cf631e7bb3352 (patch)
treea9d434fc462417bb981b1565fd64cea5e7c82c15 /src/jake2/client/Console.java
parent76839da3568e20f51220584d1fc92841b216505a (diff)
import of Jake2 version hannover
Diffstat (limited to 'src/jake2/client/Console.java')
-rw-r--r--src/jake2/client/Console.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/jake2/client/Console.java b/src/jake2/client/Console.java
index d37bf5c..11a7a64 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.1 2004-07-07 19:58:41 hzi Exp $
+ * $Id: Console.java,v 1.2 2004-07-08 15:58:42 hzi Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -398,7 +398,6 @@ public final class Console extends Globals {
================
*/
static void DrawInput() {
- int y;
int i;
byte[] text;
int start = 0;
@@ -422,7 +421,7 @@ public final class Console extends Globals {
start += 1 + key_linepos - con.linewidth;
// draw it
- y = con.vislines-16;
+// y = con.vislines-16;
for (i=0 ; i<con.linewidth ; i++)
re.DrawChar ( (i+1)<<3, con.vislines - 22, text[i]);
@@ -574,9 +573,7 @@ public final class Console extends Globals {
dlbar = cls.downloadname.substring(text);
}
dlbar += ": ";
- i = strlen(dlbar);
dlbar += (char)0x80;
- i++;
// where's the dot go?
if (cls.downloadpercent == 0)