ui/motif/text.c

changeset 29
3fc287f06305
parent 0
2483f517c562
--- 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);

mercurial