Sun, 23 Feb 2025 13:15:07 +0100
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.