From ad8a90ec7e4cfa8b6c3325cf2b2ce737c10f4804 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 10 Jun 2014 14:49:54 -0400 Subject: More go fmt. --- dialog_darwin.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'dialog_darwin.go') 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)) } } -- cgit v1.2.3