summaryrefslogtreecommitdiffhomepage
path: root/src/pty/ntapi_pty_query.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/pty/ntapi_pty_query.c')
-rw-r--r--src/pty/ntapi_pty_query.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/pty/ntapi_pty_query.c b/src/pty/ntapi_pty_query.c
index 21ade12..6754c77 100644
--- a/src/pty/ntapi_pty_query.c
+++ b/src/pty/ntapi_pty_query.c
@@ -24,7 +24,7 @@ int32_t __stdcall __ntapi_pty_query(
uintptr_t * info;
nt_pty_inherit_info * inherit;
- if ((pty_info_class<NT_PTY_BASIC_INFORMATION) || (pty_info_class>=NT_PTY_INFORMATION_CAP))
+ if (pty_info_class>=NT_PTY_INFORMATION_CAP)
return NT_STATUS_INVALID_INFO_CLASS;
else if (pty_info_class == NT_PTY_BASIC_INFORMATION)
return NT_STATUS_NOT_IMPLEMENTED;