summaryrefslogtreecommitdiff
path: root/textscreen/txt_table.c
diff options
context:
space:
mode:
authorSimon Howard2006-09-19 23:49:20 +0000
committerSimon Howard2006-09-19 23:49:20 +0000
commit7bc72c666dc1d1e033c01b60ca38673651c7e81c (patch)
tree9addb24980e13065c07408b74e9618d15ab0c253 /textscreen/txt_table.c
parent3b747fcb62f9b3e5ffd9aec2f39c9ecc9f9fc5c8 (diff)
downloadchocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.tar.gz
chocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.tar.bz2
chocolate-doom-7bc72c666dc1d1e033c01b60ca38673651c7e81c.zip
Fix textscreen warnings.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 626
Diffstat (limited to 'textscreen/txt_table.c')
-rw-r--r--textscreen/txt_table.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/textscreen/txt_table.c b/textscreen/txt_table.c
index b04ce7cb..a063f05d 100644
--- a/textscreen/txt_table.c
+++ b/textscreen/txt_table.c
@@ -27,6 +27,7 @@
#include "txt_desktop.h"
#include "txt_gui.h"
+#include "txt_io.h"
#include "txt_main.h"
#include "txt_separator.h"
#include "txt_strut.h"
@@ -61,7 +62,6 @@ static void CalcRowColSizes(txt_table_t *table,
int *row_heights,
int *col_widths)
{
- int table_height;
int x, y;
int rows;
txt_widget_t *widget;
@@ -194,7 +194,6 @@ static int SelectableWidget(txt_table_t *table, int x, int y)
static int FindSelectableColumn(txt_table_t *table, int row, int start_col)
{
int x;
- int i;
for (x=0; x<table->columns; ++x)
{
@@ -287,7 +286,6 @@ static int TXT_TableKeyPress(TXT_UNCAST_ARG(table), int key)
if (key == KEY_LEFTARROW)
{
int new_x;
- int i;
// Move cursor left
@@ -307,7 +305,6 @@ static int TXT_TableKeyPress(TXT_UNCAST_ARG(table), int key)
if (key == KEY_RIGHTARROW)
{
int new_x;
- int i;
// Move cursor left