mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-05-30 22:13:54 +00:00
Fixed x11 typo error
This commit is contained in:
parent
bafa051f92
commit
b8b8450f67
@ -184,7 +184,7 @@ func Alert(title, msg string, args ...string) bool {
|
||||
defaultBtn, cancelBtn := alertArgs(args...)
|
||||
c := `xmessage -center ` + msg +
|
||||
` -title ` + title + ` -buttons ` + defaultBtn + ":0,"
|
||||
if cancleBtn != "" {
|
||||
if cancelBtn != "" {
|
||||
c += cancelBtn + ":1"
|
||||
}
|
||||
c += ` -default ` + defaultBtn
|
||||
|
Loading…
Reference in New Issue
Block a user