diff options
-rw-r--r-- | src/ui/util.c | 2 |
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); |