Shouldn't check for 0, standard says func must put \0 anyways
This commit is contained in:
parent
b36822727e
commit
007c6267ac
1 changed files with 1 additions and 1 deletions
|
|
@ -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"
|
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;
|
return dst;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue