Fix golint nit in term_windows.go

Signed-off-by: Aaron Lehmann <aaron.lehmann@docker.com>
Upstream-commit: 35e498beca13de4ef8cecf45c0d132cc38daf0d5
Component: engine
This commit is contained in:
Aaron Lehmann
2015-07-27 17:40:49 -07:00
parent 809c751de2
commit 6ceeb0ed2b

View File

@ -80,8 +80,8 @@ func SetWinsize(fd uintptr, ws *Winsize) error {
}
// Narrow the sizes to that used by Windows
var width winterm.SHORT = winterm.SHORT(ws.Width)
var height winterm.SHORT = winterm.SHORT(ws.Height)
width := winterm.SHORT(ws.Width)
height := winterm.SHORT(ws.Height)
// Set the dimensions while ensuring they remain within the bounds of the backing console buffer
// -- Shrinking will always succeed. Growing may push the edges past the buffer boundary. When that occurs,