summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-02-15 16:27:47 -0500
committerPietro Gagliardi <[email protected]>2014-02-15 16:27:47 -0500
commite70c6f10c57dbd129a9049a039f13900a4b18d7d (patch)
tree521a4db0dfdcc121c6c6e7d54725ede9a8c7235e
parent16e561c1e37e08131bc8f9705b97f4b5c38ce226 (diff)
Fixed a build error in the previous commit.
-rw-r--r--dialog_windows.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/dialog_windows.go b/dialog_windows.go
index d741c53..04b1d11 100644
--- a/dialog_windows.go
+++ b/dialog_windows.go
@@ -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.
func MsgBoxError(title string, textfmt string, args ...interface{}) {
// TODO add an icon?
- msgBox(fmt.Sprintf(textfmt, args...), title, _MB_OK | _MB_ERROR)
+ msgBox(fmt.Sprintf(textfmt, args...), title, _MB_OK | _MB_ICONERROR)
}