summaryrefslogtreecommitdiff
path: root/src/main-x11.c
diff options
context:
space:
mode:
authorBardur Arantsson <bardur@scientician.net>2012-02-18 13:51:36 +0100
committerBardur Arantsson <bardur@scientician.net>2012-03-29 20:41:31 +0200
commitb63cc899aeedd7c6704b30738998591f327afbef (patch)
tree834185388b192fe2fbeae3abe713fb51e5c160bc /src/main-x11.c
parentf5bd542881c50c9295fdb5a541ef7d6e36173815 (diff)
Refactor: Remove unused/dead variables.
Diffstat (limited to 'src/main-x11.c')
-rw-r--r--src/main-x11.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/main-x11.c b/src/main-x11.c
index c6bf55e7..c91c837b 100644
--- a/src/main-x11.c
+++ b/src/main-x11.c
@@ -2285,7 +2285,7 @@ static errr CheckEvent(bool_ wait)
/* Move and/or Resize */
case ConfigureNotify:
{
- int cols, rows, wid, hgt;
+ int cols, rows;
int ox = Infowin->ox;
int oy = Infowin->oy;
@@ -2317,10 +2317,6 @@ static errr CheckEvent(bool_ wait)
if (cols > 255) cols = 255;
if (rows > 255) rows = 255;
- /* Desired size of window */
- wid = cols * td->fnt->wid + (ox + ox);
- hgt = rows * td->fnt->hgt + (oy + oy);
-
/* Resize the Term (if needed) */
Term_resize(cols, rows);
break;