diff options
Diffstat (limited to 'emu/Nt/os.c')
| -rw-r--r-- | emu/Nt/os.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/emu/Nt/os.c b/emu/Nt/os.c index db93f642..3d60de8c 100644 --- a/emu/Nt/os.c +++ b/emu/Nt/os.c @@ -363,7 +363,7 @@ termset(void) conh = GetStdHandle(STD_OUTPUT_HANDLE); kbdh = GetStdHandle(STD_INPUT_HANDLE); errh = GetStdHandle(STD_ERROR_HANDLE); - if(errh == INVALID_FILE_HANDLE) + if(errh == INVALID_HANDLE_VALUE) errh = conh; // The following will fail if kbdh not from console (e.g. a pipe) |
