summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-04-29 16:53:18 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-04-29 16:53:18 +0300
commit190684240e303ad708e0522432849332011964f3 (patch)
treed76734c418d4aa536b9f8aa1ed9e5f0a43e41b3e /src
parentd4788f5eb3f94e01a6575f227f2ab80330f1a8e1 (diff)
Cleanup
Diffstat (limited to 'src')
-rw-r--r--src/ui/lookupwidget.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ui/lookupwidget.c b/src/ui/lookupwidget.c
index b3e88ce8..7a0fe237 100644
--- a/src/ui/lookupwidget.c
+++ b/src/ui/lookupwidget.c
@@ -657,7 +657,6 @@ static iBool processEvent_LookupWidget_(iLookupWidget *d, const SDL_Event *ev) {
657 iRoot *root = w->root; 657 iRoot *root = w->root;
658 const iInt2 rootSize = size_Root(root); 658 const iInt2 rootSize = size_Root(root);
659 const iRect navBarBounds = bounds_Widget(findChild_Widget(root->widget, "navbar")); 659 const iRect navBarBounds = bounds_Widget(findChild_Widget(root->widget, "navbar"));
660 printf("navbar x:%d w:%d\n", navBarBounds.pos.x, navBarBounds.size.x);
661 iWidget *url = findChild_Widget(root->widget, "url"); 660 iWidget *url = findChild_Widget(root->widget, "url");
662 setFixedSize_Widget(w, init_I2(width_Widget(url), 661 setFixedSize_Widget(w, init_I2(width_Widget(url),
663 (rootSize.y - bottom_Rect(navBarBounds)) / 2)); 662 (rootSize.y - bottom_Rect(navBarBounds)) / 2));