fix cx_strdup() not using cx_strcast()

Sun, 23 Feb 2025 13:15:07 +0100

author
Mike Becker <universe@uap-core.de>
date
Sun, 23 Feb 2025 13:15:07 +0100
changeset 1223
be4c13de7c4f
parent 1222
952e712df557
child 1224
e20e100fa71f

fix cx_strdup() not using cx_strcast()

src/cx/string.h file | annotate | diff | comparison | revisions
--- a/src/cx/string.h	Sun Feb 23 13:11:46 2025 +0100
+++ b/src/cx/string.h	Sun Feb 23 13:15:07 2025 +0100
@@ -894,7 +894,7 @@
  * @see cx_strdup_a()
  * @see cx_strfree()
  */
-#define cx_strdup(string) cx_strdup_a_(cxDefaultAllocator, string)
+#define cx_strdup(string) cx_strdup_a(cxDefaultAllocator, string)
 
 /**
  * Omits leading and trailing spaces.

mercurial