diff options
| author | Pietro Gagliardi <[email protected]> | 2014-06-10 14:49:54 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-06-10 14:49:54 -0400 |
| commit | ad8a90ec7e4cfa8b6c3325cf2b2ce737c10f4804 (patch) | |
| tree | acbd9125a4b976e32f5b0401c4ef70b7b0ca17e7 /dialog_darwin.go | |
| parent | 86cf5489d3685a28ee8032bfa4f91cb248018614 (diff) | |
More go fmt.
Diffstat (limited to 'dialog_darwin.go')
| -rw-r--r-- | dialog_darwin.go | 6 |
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)) } } |
