aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-windata.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/tui/tui-windata.c')
-rw-r--r--gdb/tui/tui-windata.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/tui/tui-windata.c b/gdb/tui/tui-windata.c
index 770baf8..1647527 100644
--- a/gdb/tui/tui-windata.c
+++ b/gdb/tui/tui-windata.c
@@ -54,7 +54,7 @@ tui_first_data_item_displayed (void)
struct tui_gen_win_info *data_item_win;
data_item_win
- = &TUI_DATA_WIN->generic.content[i]->which_element.data_window;
+ = TUI_DATA_WIN->generic.content[i]->which_element.data_window;
if (data_item_win->handle != NULL
&& data_item_win->is_visible)
element_no = i;
@@ -75,7 +75,7 @@ tui_delete_data_content_windows (void)
for (i = 0; (i < TUI_DATA_WIN->generic.content_size); i++)
{
data_item_win_ptr
- = &TUI_DATA_WIN->generic.content[i]->which_element.data_window;
+ = TUI_DATA_WIN->generic.content[i]->which_element.data_window;
tui_delete_win (data_item_win_ptr->handle);
data_item_win_ptr->handle = NULL;
data_item_win_ptr->is_visible = false;