From 007c6267ac55e3ced1b6866e47bcdb2f26429d9e Mon Sep 17 00:00:00 2001 From: NukeBird Date: Sun, 30 Nov 2025 18:20:27 +0300 Subject: [PATCH] Shouldn't check for 0, standard says func must put \0 anyways --- axl_string.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/axl_string.cpp b/axl_string.cpp index f1856ca..12a7111 100644 --- a/axl_string.cpp +++ b/axl_string.cpp @@ -65,7 +65,7 @@ i8* axl_strcat(i8* dst, const i8* src) i8* axl_strncat(i8* dst, const i8* src, u32 n) //n actually means "not more than" { - if(n == 0 || !dst || !src) + if(!dst || !src) { return dst; }