docs/Writerside/topics/buffer.h.md

changeset 1298
0597f1f20ea9
parent 1291
5942859fd76c
--- a/docs/Writerside/topics/buffer.h.md	Wed Apr 16 20:35:34 2025 +0200
+++ b/docs/Writerside/topics/buffer.h.md	Thu Apr 17 20:47:43 2025 +0200
@@ -47,8 +47,8 @@
 	CxMapIterator iter = cxMapIterator(header);
 	cx_foreach(CxMapEntry*, entry, iter) {
 		cxstring name = cx_strn(entry->key->data, entry->key->len);
-		cx_bprintf(&buf, "%.*s: %s\r\n",
-			(int) name.length, name.ptr, entry->value
+		cx_bprintf(&buf, "%" CX_PRIstr ": %s\r\n",
+			CX_SFMT(name), entry->value
 		);
 	}
 	

mercurial