docs/Writerside/topics/properties.h.md

changeset 1298
0597f1f20ea9
parent 1277
637d4775e79e
--- a/docs/Writerside/topics/properties.h.md	Wed Apr 16 20:35:34 2025 +0200
+++ b/docs/Writerside/topics/properties.h.md	Thu Apr 17 20:47:43 2025 +0200
@@ -307,8 +307,8 @@
     cx_foreach(CxMapEntry *, entry, iter) {
         cxstring k = cx_strn(entry->key->data, entry->key->len);
         cxmutstr *v = entry->value;
-        printf("%.*s = %.*s\n",
-            (int) k.length, k.ptr, (int) v->length, v->ptr);
+        printf("%" CX_PRIstr " = %" CX_PRIstr "\n",
+            CX_SFMT(k), CX_SFMT(*v));
     }
 
     // freeing the map also frees the strings

mercurial