From 6ceeb0ed2b4ddd33a94e7180eed835b9fe17cdca Mon Sep 17 00:00:00 2001 From: Aaron Lehmann Date: Mon, 27 Jul 2015 17:40:49 -0700 Subject: [PATCH] Fix golint nit in term_windows.go Signed-off-by: Aaron Lehmann Upstream-commit: 35e498beca13de4ef8cecf45c0d132cc38daf0d5 Component: engine --- components/engine/pkg/term/term_windows.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/engine/pkg/term/term_windows.go b/components/engine/pkg/term/term_windows.go index e24b32b292..da9295eec6 100644 --- a/components/engine/pkg/term/term_windows.go +++ b/components/engine/pkg/term/term_windows.go @@ -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,