src/properties.c

changeset 1666
1ac3c150ec56
parent 1603
ffea41207599
--- a/src/properties.c	Wed Dec 24 12:13:59 2025 +0100
+++ b/src/properties.c	Wed Dec 24 15:05:36 2025 +0100
@@ -338,12 +338,12 @@
     }
 
     // initialize the parser
-    char linebuf[cx_properties_load_buf_size];
-    char fillbuf[cx_properties_load_fill_size];
+    char linebuf[CX_PROPERTIES_LOAD_BUF_SIZE];
+    char fillbuf[CX_PROPERTIES_LOAD_FILL_SIZE];
     CxPropertiesStatus status;
     CxProperties parser;
     cxPropertiesInit(&parser, config);
-    cxPropertiesUseStack(&parser, linebuf, cx_properties_load_buf_size);
+    cxPropertiesUseStack(&parser, linebuf, CX_PROPERTIES_LOAD_BUF_SIZE);
 
     // read/fill/parse loop
     status = CX_PROPERTIES_NO_DATA;

mercurial