ui/common/properties.c

changeset 1016
ccde46662db7
parent 1014
83c83a7aa552
--- a/ui/common/properties.c	Wed Dec 17 18:31:20 2025 +0100
+++ b/ui/common/properties.c	Thu Dec 18 17:50:15 2025 +0100
@@ -101,7 +101,7 @@
     }
     
     CxBuffer buf;
-    cxBufferInit(&buf, NULL, 128, cxDefaultAllocator, CX_BUFFER_FREE_CONTENTS|CX_BUFFER_AUTO_EXTEND);
+    cxBufferInit(&buf, cxDefaultAllocator, NULL, 128, CX_BUFFER_FREE_CONTENTS|CX_BUFFER_AUTO_EXTEND);
     
     // add base dir
     char *homeenv = getenv(UI_ENV_HOME);
@@ -336,7 +336,7 @@
 static char* uic_concat_path(const char *base, const char *p, const char *ext) {
     size_t baselen = strlen(base);
     
-    CxBuffer *buf = cxBufferCreate(NULL, 32, cxDefaultAllocator, CX_BUFFER_FREE_CONTENTS|CX_BUFFER_AUTO_EXTEND);
+    CxBuffer *buf = cxBufferCreate(cxDefaultAllocator, NULL, 32, CX_BUFFER_FREE_CONTENTS|CX_BUFFER_AUTO_EXTEND);
     if(baselen > 0) {
         cxBufferWrite(base, 1, baselen, buf);
         if(base[baselen - 1] != '/') {

mercurial