gdb/tui: compare pointer to nullptr, not 0
authorAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 15 Jan 2021 20:21:04 +0000 (20:21 +0000)
committerAndrew Burgess <andrew.burgess@embecosm.com>
Fri, 15 Jan 2021 20:23:12 +0000 (20:23 +0000)
commit5a11fff00597647e3ac6b2f921126049403c17a3
tree376a33ab66838854203e7a964cf0a3e5017e7886
parent10f92414d6d4a5f8eb8cbb2bf39ca86c1f9c1da5
gdb/tui: compare pointer to nullptr, not 0

Compare pointers to nullptr, not 0.  I also fixed a trailing
whitespace in the same function.

There should be no user visible changes after this commit.

gdb/ChangeLog:

* tui/tui.c (tui_is_window_visible): Compare to nullptr, not 0.
gdb/ChangeLog
gdb/tui/tui.c