From 1c5313c5c81121a5fcec2f3344012ff5a86d8e8f Mon Sep 17 00:00:00 2001 From: Michael Snyder Date: Mon, 17 May 2010 22:21:43 +0000 Subject: 2010-05-17 Michael Snyder * tui/tui.c: White space. * tui/tui-data.c: White space. * tui/tui-disasm.c: White space. * tui/tui-file.c: White space. * tui/tui-interp.c: White space. * tui/tui-main.c: White space. * tui/tui-out.c: White space. * tui/tui-regs.c: White space. * tui/tui-source.c: White space. * tui/tui-stack.c: White space. * tui/tui-win.c: White space. * tui/tui-winsource.c: White space. --- gdb/tui/tui-win.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gdb/tui/tui-win.c') diff --git a/gdb/tui/tui-win.c b/gdb/tui/tui-win.c index 50e054e..d7d5e39 100644 --- a/gdb/tui/tui-win.c +++ b/gdb/tui/tui-win.c @@ -827,6 +827,7 @@ tui_initialize_win (void) #ifdef SIGWINCH #ifdef HAVE_SIGACTION struct sigaction old_winch; + memset (&old_winch, 0, sizeof (old_winch)); old_winch.sa_handler = &tui_sigwinch_handler; sigaction (SIGWINCH, &old_winch, NULL); @@ -1241,6 +1242,7 @@ tui_adjust_win_heights (struct tui_win_info *primary_win_info, if ((TUI_CMD_WIN->generic.height + diff) < 1) { int i; + for (i = TUI_CMD_WIN->generic.height + diff; (i < 1); i++) if (primary_win_info == first_win) -- cgit v1.1