summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunegunn Choi <junegunn.c@gmail.com>2015-06-14 03:19:18 +0900
committerJunegunn Choi <junegunn.c@gmail.com>2015-06-14 03:19:18 +0900
commit77bab51696b509f2c86a4737bbe66ec4830f26e7 (patch)
treee4d034f9bed3e5b5cbf5fa0f41bb08f439f40a6f
parent77048f3e3bb47d8322863e7ac002fbf6f3c222bf (diff)
GoLint fix
-rw-r--r--src/terminal.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/terminal.go b/src/terminal.go
index 6f28a40e..50d380f8 100644
--- a/src/terminal.go
+++ b/src/terminal.go
@@ -943,7 +943,6 @@ func (t *Terminal) vset(o int) bool {
func (t *Terminal) maxItems() int {
if t.inlineInfo {
return C.MaxY() - 1
- } else {
- return C.MaxY() - 2
}
+ return C.MaxY() - 2
}