aboutsummaryrefslogtreecommitdiff
path: root/libs/libgui/gui.c
diff options
context:
space:
mode:
authorMarvin Borner2021-07-02 22:36:33 +0200
committerMarvin Borner2021-07-02 22:41:09 +0200
commita81a011d738a0cbd36e0d4f8e17691424d6bb1a0 (patch)
tree143c71ff59f2790bf628b572a58d9f6996edd3bd /libs/libgui/gui.c
parentf3e85eedc434da973267f360abdbb79cb6f24100 (diff)
Added UTF8 rendering support
Diffstat (limited to 'libs/libgui/gui.c')
-rw-r--r--libs/libgui/gui.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/libgui/gui.c b/libs/libgui/gui.c
index f768232..337fd81 100644
--- a/libs/libgui/gui.c
+++ b/libs/libgui/gui.c
@@ -70,7 +70,7 @@ static struct gui_widget *gui_widget_in_widget(struct gui_widget *parent, u32 wi
while (iterator) {
struct gui_widget *widget = iterator->data;
if (widget->id == widget_id)
- return iterator->data;
+ return widget;
struct gui_widget *sub = gui_widget_in_widget(widget, widget_id);
if (sub && sub->id == widget_id)