summaryrefslogtreecommitdiff
path: root/emu
diff options
context:
space:
mode:
authorCharles.Forsyth <devnull@localhost>2008-04-16 11:05:44 +0000
committerCharles.Forsyth <devnull@localhost>2008-04-16 11:05:44 +0000
commit76a2f7be03ab622d03e83aaef4a73c1ad7aa2682 (patch)
tree40778ce34bd208630b2718f15b7860b4976ec7ff /emu
parent5b2f655b4c7877c86fdf7ec1c726a99ae5a454ba (diff)
20080416-1204
Diffstat (limited to 'emu')
-rw-r--r--emu/Nt/os.c2
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)