summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2020-08-07 14:59:49 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2020-08-07 14:59:49 +0300
commit2de9859e795e3a2223907b9789479bea0111fa4f (patch)
tree333610b58b02f0adde1972fdd500a32648f9e987
parent42e099f8fed30279c3c550ee6fc865ed0569ff20 (diff)
Cleanup
-rw-r--r--src/ui/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/util.c b/src/ui/util.c
index 02b22ed9..b0bef69e 100644
--- a/src/ui/util.c
+++ b/src/ui/util.c
@@ -200,7 +200,7 @@ void openMenu_Widget(iWidget *d, iInt2 coord) {
200 d->rect.pos = coord; 200 d->rect.pos = coord;
201 /* Ensure the full menu is visible. */ 201 /* Ensure the full menu is visible. */
202 const iInt2 rootSize = rootSize_Window(get_Window()); 202 const iInt2 rootSize = rootSize_Window(get_Window());
203 const iRect bounds = bounds_Widget(d); 203 const iRect bounds = bounds_Widget(d);
204 const int leftExcess = -left_Rect(bounds); 204 const int leftExcess = -left_Rect(bounds);
205 const int rightExcess = right_Rect(bounds) - rootSize.x; 205 const int rightExcess = right_Rect(bounds) - rootSize.x;
206 const int topExcess = -top_Rect(bounds); 206 const int topExcess = -top_Rect(bounds);