mirror of https://git.sr.ht/~ashkeel/strimertul
fix: woops this is different
This commit is contained in:
parent
82b7d51df7
commit
b5f5c2975c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue