mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-22 11:00:01 +08:00
* tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
is not displayed.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2002-09-01 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
|
* tuiWin.c (_tuiAllWindowsInfo): Don't crash if the window
|
||||||
|
is not displayed.
|
||||||
|
|
||||||
2002-09-01 Stephane Carrez <stcarrez@nerim.fr>
|
2002-09-01 Stephane Carrez <stcarrez@nerim.fr>
|
||||||
|
|
||||||
* tui-out.c (tui_out_new): Clear start_of_line.
|
* tui-out.c (tui_out_new): Clear start_of_line.
|
||||||
|
@ -928,7 +928,7 @@ _tuiAllWindowsInfo (char *arg, int fromTTY)
|
|||||||
TuiWinInfoPtr winWithFocus = tuiWinWithFocus ();
|
TuiWinInfoPtr winWithFocus = tuiWinWithFocus ();
|
||||||
|
|
||||||
for (type = SRC_WIN; (type < MAX_MAJOR_WINDOWS); type++)
|
for (type = SRC_WIN; (type < MAX_MAJOR_WINDOWS); type++)
|
||||||
if (winList[type]->generic.isVisible)
|
if (winList[type] && winList[type]->generic.isVisible)
|
||||||
{
|
{
|
||||||
if (winWithFocus == winList[type])
|
if (winWithFocus == winList[type])
|
||||||
printf_filtered (" %s\t(%d lines) <has focus>\n",
|
printf_filtered (" %s\t(%d lines) <has focus>\n",
|
||||||
|
Reference in New Issue
Block a user