Browse code

Fix golint nit in term_windows.go

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>

Aaron Lehmann authored on 2015/07/28 09:40:49
Showing 1 changed files
... ...
@@ -80,8 +80,8 @@ func SetWinsize(fd uintptr, ws *Winsize) error {
80 80
 	}
81 81
 
82 82
 	// Narrow the sizes to that used by Windows
83
-	var width winterm.SHORT = winterm.SHORT(ws.Width)
84
-	var height winterm.SHORT = winterm.SHORT(ws.Height)
83
+	width := winterm.SHORT(ws.Width)
84
+	height := winterm.SHORT(ws.Height)
85 85
 
86 86
 	// Set the dimensions while ensuring they remain within the bounds of the backing console buffer
87 87
 	// -- Shrinking will always succeed. Growing may push the edges past the buffer boundary. When that occurs,