summaryrefslogtreecommitdiff
path: root/dialog_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'dialog_darwin.go')
-rw-r--r--dialog_darwin.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/dialog_darwin.go b/dialog_darwin.go
index 3047ed0..038c640 100644
--- a/dialog_darwin.go
+++ b/dialog_darwin.go
@@ -12,7 +12,7 @@ import "C"
//export dialog_send
func dialog_send(pchan unsafe.Pointer, res C.intptr_t) {
rchan := (*chan int)(pchan)
- go func() { // send it in a new goroutine like we do with everything else
+ go func() { // send it in a new goroutine like we do with everything else
*rchan <- int(res)
}()
}
@@ -31,9 +31,9 @@ func _msgBox(parent *Window, primarytext string, secondarytext string, style uin
secondary = toNSString(secondarytext)
}
switch style {
- case 0: // normal
+ case 0: // normal
C.msgBox(pwin, primary, secondary, unsafe.Pointer(&ret))
- case 1: // error
+ case 1: // error
C.msgBoxError(pwin, primary, secondary, unsafe.Pointer(&ret))
}
}