Fixed a build error in the previous commit.
This commit is contained in:
parent
16e561c1e3
commit
e70c6f10c5
|
@ -94,5 +94,5 @@ func MsgBox(title string, textfmt string, args ...interface{}) {
|
||||||
// MsgBoxError displays a message box to the user with just an OK button and an icon indicating an error.
|
// MsgBoxError displays a message box to the user with just an OK button and an icon indicating an error.
|
||||||
func MsgBoxError(title string, textfmt string, args ...interface{}) {
|
func MsgBoxError(title string, textfmt string, args ...interface{}) {
|
||||||
// TODO add an icon?
|
// TODO add an icon?
|
||||||
msgBox(fmt.Sprintf(textfmt, args...), title, _MB_OK | _MB_ERROR)
|
msgBox(fmt.Sprintf(textfmt, args...), title, _MB_OK | _MB_ICONERROR)
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue