aboutsummaryrefslogtreecommitdiff
path: root/src/ui/control.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/control.cpp')
-rw-r--r--src/ui/control.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/control.cpp b/src/ui/control.cpp
index 91b5aea3..22b7164f 100644
--- a/src/ui/control.cpp
+++ b/src/ui/control.cpp
@@ -877,7 +877,7 @@ namespace cru::ui
auto parent = GetParent();
while (parent != nullptr)
{
- auto lp = parent->GetLayoutParams();
+ const auto lp = parent->GetLayoutParams();
if (!stretch_width_determined)
{