ui/motif/text.h

changeset 29
3fc287f06305
parent 0
2483f517c562
--- a/ui/motif/text.h	Sun Feb 11 15:59:56 2024 +0100
+++ b/ui/motif/text.h	Mon Feb 12 17:32:02 2024 +0100
@@ -64,7 +64,7 @@
 } UiTextArea;
     
 char* ui_textarea_get(UiText *text);
-void ui_textarea_set(UiText *text, char *str);
+void ui_textarea_set(UiText *text, const char *str);
 char* ui_textarea_getsubstr(UiText *text, int begin, int end);
 void ui_textarea_insert(UiText *text, int pos, char *str);
 void ui_textarea_setposition(UiText *text, int pos);

mercurial