diff options
author | Marvin Borner | 2021-07-02 22:36:33 +0200 |
---|---|---|
committer | Marvin Borner | 2021-07-02 22:41:09 +0200 |
commit | a81a011d738a0cbd36e0d4f8e17691424d6bb1a0 (patch) | |
tree | 143c71ff59f2790bf628b572a58d9f6996edd3bd /libs/libgui/gui.c | |
parent | f3e85eedc434da973267f360abdbb79cb6f24100 (diff) |
Added UTF8 rendering support
Diffstat (limited to 'libs/libgui/gui.c')
-rw-r--r-- | libs/libgui/gui.c | 2 |
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) |