diff options
Diffstat (limited to 'gocui/gocui.go')
| -rw-r--r-- | gocui/gocui.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gocui/gocui.go b/gocui/gocui.go index 1c2e8f7..6d924f8 100644 --- a/gocui/gocui.go +++ b/gocui/gocui.go @@ -56,7 +56,7 @@ func gocuiEvent(g *gocui.Gui) error { if widgetView, _ := g.View("msg"); widgetView == nil { log.Log(NOW, "handleEvent() create output widget now", maxX, maxY, mx, my) makeOutputWidget(g, "this is a create before a mouse click") - if (me.logStdout != nil) { + if me.logStdout != nil { // setOutput(me.logStdout) } } else { @@ -75,7 +75,7 @@ func setFrame(b bool) { // TODO: figure out what this might be useful for // what is this do? I made it just 2 lines for now. Is this useful for something? v := SetView("global", 5, 10, 5, 10, 0) // x0, x1, y1, y2, overlap - if (v == nil) { + if v == nil { log.Log(ERROR, "setFrame() global failed") } v.Frame = b @@ -86,7 +86,7 @@ func quit(g *gocui.Gui, v *gocui.View) error { } func SetView(name string, x0, y0, x1, y1 int, overlaps byte) *gocui.View { - if (me.baseGui == nil) { + if me.baseGui == nil { log.Log(ERROR, "SetView() ERROR: me.baseGui == nil") return nil } |
