mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-06 08:43:56 +00:00
Fix key err
This commit is contained in:
parent
36b4088fef
commit
4cf12186ab
@ -324,7 +324,7 @@ func TypeString(x string) {
|
|||||||
func TypeStringDelayed(x string, y int) {
|
func TypeStringDelayed(x string, y int) {
|
||||||
cx := C.CString(x)
|
cx := C.CString(x)
|
||||||
cy := C.C.size_t(y)
|
cy := C.C.size_t(y)
|
||||||
C.aTypeStringDelayed(cx, y)
|
C.aTypeStringDelayed(cx, cy)
|
||||||
defer C.free(unsafe.Pointer(cx))
|
defer C.free(unsafe.Pointer(cx))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user