fix: woops this is different

This commit is contained in:
Ash Keel 2024-02-25 16:56:37 +01:00
parent 82b7d51df7
commit b5f5c2975c
No known key found for this signature in database
GPG Key ID: 53A9E9A6035DD109
1 changed files with 1 additions and 1 deletions

View File

@ -14,7 +14,7 @@ var (
)
func setStdHandle(stdhandle int32, handle syscall.Handle) error {
r0, _, e1 := syscall.SyscallN(procSetStdHandle.Addr(), 2, uintptr(stdhandle), uintptr(handle), 0)
r0, _, e1 := syscall.SyscallN(procSetStdHandle.Addr(), uintptr(stdhandle), uintptr(handle), 0)
if r0 == 0 {
if e1 != 0 {
return error(e1)