# HG changeset patch # User Mike Becker # Date 1740312907 -3600 # Node ID be4c13de7c4f0f37fd41bd2456dc64e65a0082aa # Parent 952e712df557a1d728f5db394c2245865bd21c79 fix cx_strdup() not using cx_strcast() diff -r 952e712df557 -r be4c13de7c4f src/cx/string.h --- 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.