aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-windata.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2007-08-14 23:50:39 +0000
committerMichael Snyder <msnyder@vmware.com>2007-08-14 23:50:39 +0000
commit08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff (patch)
treecde927decf58e6699819eb228b206f57403daaf0 /gdb/tui/tui-windata.c
parentef5eab5a0fffb60f5e6f5554bcbec4759f684710 (diff)
downloadgdb-08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff.zip
gdb-08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff.tar.gz
gdb-08ef48c5ac7d25a662e76e421b5bdd6887dfc8ff.tar.bz2
2007-08-14 Michael Snyder <msnyder@access-company.com>
* tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, tui.c, tui.h: Function declarations and definitions, wrap long lines.
Diffstat (limited to 'gdb/tui/tui-windata.c')
-rw-r--r--gdb/tui/tui-windata.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gdb/tui/tui-windata.c b/gdb/tui/tui-windata.c
index f51f2ce..846a499 100644
--- a/gdb/tui/tui-windata.c
+++ b/gdb/tui/tui-windata.c
@@ -56,7 +56,7 @@ tui_first_data_item_displayed (void)
struct tui_gen_win_info *data_item_win;
data_item_win = &((tui_win_content)
- 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 != (WINDOW *) NULL && data_item_win->is_visible)
element_no = i;
}
@@ -93,7 +93,7 @@ tui_delete_data_content_windows (void)
for (i = 0; (i < TUI_DATA_WIN->generic.content_size); i++)
{
data_item_win_ptr = &((tui_win_content)
- 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 = (WINDOW *) NULL;
data_item_win_ptr->is_visible = FALSE;
@@ -263,7 +263,8 @@ tui_check_data_values (struct frame_info *frame)
/* Scroll the data window vertically forward or backward. */
void
-tui_vertical_data_scroll (enum tui_scroll_direction scroll_direction, int num_to_scroll)
+tui_vertical_data_scroll (enum tui_scroll_direction scroll_direction,
+ int num_to_scroll)
{
int first_element_no;
int first_line = (-1);