Skip to content

Commit

Permalink
fix winapi
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Jun 22, 2016
1 parent 0751665 commit bb68730
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ pub fn is(stream: Stream) -> bool {
let handle = match stream {
Stream::Stdout => winapi::winbase::STD_OUTPUT_HANDLE,
Stream::Stderr => winapi::winbase::STD_ERROR_HANDLE,
Stream::Stdin => winapi::winbase::STD_IN_HANDLE
Stream::Stdin => winapi::winbase::STD_INPUT_HANDLE
};
unsafe {
let handle = kernel32::GetStdHandle(handle);
Expand Down

0 comments on commit bb68730

Please sign in to comment.