ui/common/document.c

changeset 594
fc854e0ab924
parent 471
063a9f29098c
child 625
1726c5109ccd
--- a/ui/common/document.c	Thu May 15 12:55:54 2025 +0200
+++ b/ui/common/document.c	Thu May 29 12:03:32 2025 +0200
@@ -83,7 +83,7 @@
 }
 
 void* ui_document_new(size_t size) {
-    CxMempool *mp = cxMempoolCreate(256, NULL);
+    CxMempool *mp = cxMempoolCreateSimple(256);
     const CxAllocator *a = mp->allocator;
     UiContext *ctx = uic_context(NULL, mp);
     

mercurial