From a05e255abe2bc6a439944896f09efaa36fe59008 Mon Sep 17 00:00:00 2001 From: vcaesar Date: Fri, 24 Jul 2020 09:33:40 -0400 Subject: [PATCH] update some name --- robotgo.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/robotgo.go b/robotgo.go index ca9098c..8ae9323 100644 --- a/robotgo.go +++ b/robotgo.go @@ -765,8 +765,8 @@ func TypeStr(str string, args ...float64) { if runtime.GOOS == "linux" { strUc := toUC(str) for i := 0; i < len(strUc); i++ { - rstr := []rune(strUc[i]) - if len(rstr) <= 1 { + ru := []rune(strUc[i]) + if len(ru) <= 1 { ustr := uint32(CharCodeAt(strUc[i], 0)) UnicodeType(ustr) } else {