aboutsummaryrefslogtreecommitdiff
path: root/gdb/tui/tui-data.c
diff options
context:
space:
mode:
authorMichael Snyder <msnyder@vmware.com>2010-05-17 22:21:43 +0000
committerMichael Snyder <msnyder@vmware.com>2010-05-17 22:21:43 +0000
commit1c5313c5c81121a5fcec2f3344012ff5a86d8e8f (patch)
treead2c3927e02f498b644436d7e172d1243fb18f84 /gdb/tui/tui-data.c
parentf4a14ae60d33ac392ac74c54da1ef10bb293adef (diff)
downloadgdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.zip
gdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.tar.gz
gdb-1c5313c5c81121a5fcec2f3344012ff5a86d8e8f.tar.bz2
2010-05-17 Michael Snyder <msnyder@vmware.com>
* 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.
Diffstat (limited to 'gdb/tui/tui-data.c')
-rw-r--r--gdb/tui/tui-data.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gdb/tui/tui-data.c b/gdb/tui/tui-data.c
index ee88cf1..22c00c9 100644
--- a/gdb/tui/tui-data.c
+++ b/gdb/tui/tui-data.c
@@ -402,6 +402,7 @@ tui_partial_win_by_name (char *name)
if (tui_win_list[i] != 0)
{
char *cur_name = tui_win_name (&tui_win_list[i]->generic);
+
if (strlen (name) <= strlen (cur_name)
&& strncmp (name, cur_name, strlen (name)) == 0)
win_info = tui_win_list[i];