update unix get title type

This commit is contained in:
vcaesar 2019-03-19 10:39:36 -04:00
parent 73866c8273
commit 7aedce7c70

View File

@ -42,8 +42,8 @@ func GetBounds(pid int32, args ...int) (int, int, int, int) {
} }
// internalGetTitle get the window title // internalGetTitle get the window title
func internalGetTitle(pid int32, args ...int) string { func internalGetTitle(pid int32, args ...int32) string {
var hwnd int var hwnd int32
if len(args) > 0 { if len(args) > 0 {
hwnd = args[0] hwnd = args[0]