--- a/ui/common/context.c Sat Jun 14 11:05:57 2025 +0200 +++ b/ui/common/context.c Sat Jun 14 11:17:17 2025 +0200 @@ -409,7 +409,7 @@ } } -void uic_reg_var(UiContext *ctx, char *name, UiVarType type, void *value) { +void uic_reg_var(UiContext *ctx, const char *name, UiVarType type, void *value) { // TODO: do we need/want this? Why adding vars to a context after // widgets reference these? Workarounds: // 1. add vars to ctx before creating ui