summaryrefslogtreecommitdiff
path: root/textscreen/txt_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'textscreen/txt_table.c')
-rw-r--r--textscreen/txt_table.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/textscreen/txt_table.c b/textscreen/txt_table.c
index a77d7a12..5ae9ee62 100644
--- a/textscreen/txt_table.c
+++ b/textscreen/txt_table.c
@@ -414,6 +414,8 @@ void TXT_InitTable(txt_table_t *table, int columns)
table->widget.widget_class = &txt_table_class;
table->widget.visible = 1;
table->widget.selectable = 1;
+ table->selected_x = 0;
+ table->selected_y = 0;
}
txt_table_t *TXT_NewTable(int columns)