diff options
author | Ron Yorston <rmy@pobox.com> | 2019-04-06 10:43:56 +0100 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2019-04-06 10:43:56 +0100 |
commit | 379a8b313923db1f4892a3dd0d8d923bc6683d8a (patch) | |
tree | 024ac839501554c0ca34084f704f6192f0b332c3 /arch | |
parent | 65ae5b24cc08f898e81b36421b616fc7fc25d2b1 (diff) | |
download | busybox-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 'arch')
0 files changed, 0 insertions, 0 deletions