diff options
author | Michael Snyder <msnyder@vmware.com> | 2007-08-15 00:19:44 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2007-08-15 00:19:44 +0000 |
commit | e5908723e599e3788a3fbceeef35804024a03af7 (patch) | |
tree | 430eb9a83e3edec1f52b027b8edbc092c1e1ec46 /gdb/tui/tui-wingeneral.c | |
parent | 8676c0493c4cd9793b684402ecf8775cc4f6b763 (diff) | |
download | gdb-e5908723e599e3788a3fbceeef35804024a03af7.zip gdb-e5908723e599e3788a3fbceeef35804024a03af7.tar.gz gdb-e5908723e599e3788a3fbceeef35804024a03af7.tar.bz2 |
2007-08-14 Michael Snyder <msnyder@access-company.com>
* tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c,
tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c,
tui-wingeneral.c, tui-winsource.c: Coding standard, && and ||
go at beginning of new line.
Diffstat (limited to 'gdb/tui/tui-wingeneral.c')
-rw-r--r-- | gdb/tui/tui-wingeneral.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gdb/tui/tui-wingeneral.c b/gdb/tui/tui-wingeneral.c index ab41336..2609a45 100644 --- a/gdb/tui/tui-wingeneral.c +++ b/gdb/tui/tui-wingeneral.c @@ -113,7 +113,8 @@ box_win (struct tui_gen_win_info *win_info, void tui_unhighlight_win (struct tui_win_info *win_info) { - if (win_info != NULL && win_info->generic.handle != (WINDOW *) NULL) + if (win_info != NULL + && win_info->generic.handle != (WINDOW *) NULL) { box_win ((struct tui_gen_win_info *) win_info, NO_HILITE); wrefresh (win_info->generic.handle); @@ -190,8 +191,9 @@ make_visible (struct tui_gen_win_info *win_info, int visible) win_info->is_visible = TRUE; } } - else if (!visible && - win_info->is_visible && win_info->handle != (WINDOW *) NULL) + else if (!visible + && win_info->is_visible + && win_info->handle != (WINDOW *) NULL) { win_info->is_visible = FALSE; tui_delete_win (win_info->handle); |