diff -r 7d176764756d -r 087cc9216f28 ui/motif/text.c --- a/ui/motif/text.c Sun Feb 11 15:44:33 2024 +0100 +++ b/ui/motif/text.c Sun Feb 11 22:06:23 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);