More go fmt.

This commit is contained in:
Pietro Gagliardi 2014-06-10 14:49:54 -04:00
parent 86cf5489d3
commit ad8a90ec7e
4 changed files with 24 additions and 28 deletions

View File

@ -2,10 +2,6 @@
package ui
import (
// ...
)
// sentinel (not nil so programmer errors don't go undetected)
// this window is invalid and cannot be used directly
var dialogWindow = new(Window)

View File

@ -61,7 +61,7 @@ func (w *Window) msgBox(primarytext string, secondarytext string) (done chan str
func (w *Window) msgBoxError(primarytext string, secondarytext string) (done chan struct{}) {
done = make(chan struct{})
go func() {
<-_msgBox(w, primarytext, secondarytext, _MB_OK | _MB_ICONERROR)
<-_msgBox(w, primarytext, secondarytext, _MB_OK|_MB_ICONERROR)
done <- struct{}{}
}()
return done