diff -r 1ecc1183f046 -r 3fc287f06305 ui/motif/text.c --- a/ui/motif/text.c Sun Feb 11 15:59:56 2024 +0100 +++ b/ui/motif/text.c Mon Feb 12 17:32:02 2024 +0100 @@ -119,7 +119,7 @@ return str; } -void ui_textarea_set(UiText *text, char *str) { +void ui_textarea_set(UiText *text, const char *str) { XmTextSetString(text->obj, str); if(text->value.ptr) { text->value.free(text->value.ptr);