mirror of
https://github.com/go-vgo/robotgo.git
synced 2025-06-01 14:43:55 +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...)
|
defaultBtn, cancelBtn := alertArgs(args...)
|
||||||
c := `xmessage -center ` + msg +
|
c := `xmessage -center ` + msg +
|
||||||
` -title ` + title + ` -buttons ` + defaultBtn + ":0,"
|
` -title ` + title + ` -buttons ` + defaultBtn + ":0,"
|
||||||
if cancleBtn != "" {
|
if cancelBtn != "" {
|
||||||
c += cancelBtn + ":1"
|
c += cancelBtn + ":1"
|
||||||
}
|
}
|
||||||
c += ` -default ` + defaultBtn
|
c += ` -default ` + defaultBtn
|
||||||
|
Loading…
Reference in New Issue
Block a user