summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorAlexander Neumann <alexander.neumann@picos-software.com>2019-02-26 17:38:47 +0100
committerAlexander Neumann <alexander.neumann@picos-software.com>2019-02-26 17:38:47 +0100
commit97b07593004c451ce84b9cee06b6f12f5d8cdbb8 (patch)
treefa944dd4078863051b56aed3c6eb8eb3388d0c80
parentSpacer: Add support for restricting greed locally (diff)
downloadwireguard-windows-97b07593004c451ce84b9cee06b6f12f5d8cdbb8.tar.xz
wireguard-windows-97b07593004c451ce84b9cee06b6f12f5d8cdbb8.zip
BoxLayout: Small refactoring after removing logging code
-rw-r--r--boxlayout.go4
1 files changed, 1 insertions, 3 deletions
diff --git a/boxlayout.go b/boxlayout.go
index be795040..d84a7bc0 100644
--- a/boxlayout.go
+++ b/boxlayout.go
@@ -208,9 +208,7 @@ func (l *BoxLayout) LayoutFlags() LayoutFlags {
return 0
}
- flags := boxLayoutFlags(l.orientation, l.container.Children())
-
- return flags
+ return boxLayoutFlags(l.orientation, l.container.Children())
}
func (l *BoxLayout) MinSize() Size {