Tue, 25 Nov 2025 12:10:04 +0100
fix missing return
| ui/common/object.c | file | annotate | diff | comparison | revisions |
--- a/ui/common/object.c Sun Nov 23 14:52:41 2025 +0100 +++ b/ui/common/object.c Tue Nov 25 12:10:04 2025 +0100 @@ -188,7 +188,5 @@ void* ui_object_get(UiObject *obj, const char *key) { UiObjectPrivate *p = (UiObjectPrivate*)obj; - if(p->ext) { - return cxMapGet(p->ext, key); - } + return p->ext ? cxMapGet(p->ext, key) : NULL; }