src/text.c

changeset 292
25931abee09f
parent 290
2eb3813562e7
child 296
f4f7886f10f0
--- a/src/text.c	Thu Jan 08 18:20:33 2026 +0100
+++ b/src/text.c	Sun Jan 25 13:18:04 2026 +0100
@@ -156,9 +156,9 @@
         text->color = args.color;
     }
     if (args.text == NULL) {
-        text->text = cx_mutstr(strdup(" "));
+        text->text = cx_strdup(" ");
     } else {
-        text->text = cx_mutstr(strdup(args.text));
+        text->text = cx_strdup(args.text);
     }
     if (args.centered) {
         asc_set_flag(node->flags, ASC_TEXT_CENTERED_FLAG);

mercurial