axl_string.h shouldn't depend on axl_memory.h
This commit is contained in:
parent
0b74748a0d
commit
aecae2baa8
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
|||
#include "axl_string.h"
|
||||
#include "axl_memory.h"
|
||||
|
||||
u32 axl_strlen(const i8* s)
|
||||
{
|
||||
|
|
@ -157,7 +156,7 @@ i8* axl_strstr(const i8* str, const i8* substr)
|
|||
|
||||
while(*str)
|
||||
{
|
||||
if(!axl_memcmp(str++, substr, n))
|
||||
if(!axl_strncmp(str++, substr, n))
|
||||
{
|
||||
return (i8*)(str - 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue