aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2019-04-06 10:43:56 +0100
committerRon Yorston <rmy@pobox.com>2019-04-06 10:43:56 +0100
commit379a8b313923db1f4892a3dd0d8d923bc6683d8a (patch)
tree024ac839501554c0ca34084f704f6192f0b332c3 /docs
parent65ae5b24cc08f898e81b36421b616fc7fc25d2b1 (diff)
downloadbusybox-w32-379a8b313923db1f4892a3dd0d8d923bc6683d8a.tar.gz
busybox-w32-379a8b313923db1f4892a3dd0d8d923bc6683d8a.tar.bz2
busybox-w32-379a8b313923db1f4892a3dd0d8d923bc6683d8a.zip
winansi: code shrink
Use INVALID_HANDLE_VALUE (not NULL) to indicate that the console and console_in handles haven't been initialised. Replace many explicit comparisons against INVALID_HANDLE_VALUE with tests on the return value of GetConsoleScreenBufferInfo() which fails for an invalid handle.
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions