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-io.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-io.c')
-rw-r--r-- | gdb/tui/tui-io.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/tui/tui-io.c b/gdb/tui/tui-io.c index d627ecd..1371384 100644 --- a/gdb/tui/tui-io.c +++ b/gdb/tui/tui-io.c @@ -73,7 +73,8 @@ key_is_command_char (int ch) || (ch == KEY_LEFT) || (ch == KEY_RIGHT) || (ch == KEY_UP) || (ch == KEY_DOWN) || (ch == KEY_SF) || (ch == KEY_SR) - || (ch == (int)'\f') || key_is_start_sequence (ch)); + || (ch == (int)'\f') + || key_is_start_sequence (ch)); } /* Use definition from readline 4.3. */ @@ -329,7 +330,9 @@ printable_part (char *pathname) temp = rl_filename_completion_desired ? strrchr (pathname, '/') : (char *)NULL; #if defined (__MSDOS__) - if (rl_filename_completion_desired && temp == 0 && isalpha (pathname[0]) && pathname[1] == ':') + if (rl_filename_completion_desired + && temp == 0 && isalpha (pathname[0]) + && pathname[1] == ':') temp = pathname + 1; #endif return (temp ? ++temp : pathname); |