Skip to content

Commit

Permalink
Merge branch 'master' of github.com:softprops/atty
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Mar 7, 2018
2 parents 4b6e74e + e7373f3 commit 4d460ba
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 @@ -123,7 +123,7 @@ unsafe fn msys_tty_on(fd: DWORD) -> bool {
name_info_bytes.len() as u32,
);
if res == 0 {
return true;
return false;
}
let name_info: FILE_NAME_INFO = *(name_info_bytes[0..size].as_ptr() as
*const FILE_NAME_INFO);
Expand Down

0 comments on commit 4d460ba

Please sign in to comment.