mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2024-12-29 12:20:41 +00:00
removed tabs
This commit is contained in:
parent
fa3fbf940c
commit
70da2a2a99
@ -21,10 +21,10 @@ static size_t mw_strnlen(const char *s, size_t n)
|
||||
if (strnlen != NULL) {
|
||||
return strnlen(s, n);
|
||||
}
|
||||
else {
|
||||
const char *p = (const char *)memchr(s, 0, n);
|
||||
return(p ? p-s : n);
|
||||
}
|
||||
else {
|
||||
const char *p = (const char *)memchr(s, 0, n);
|
||||
return(p ? p-s : n);
|
||||
}
|
||||
}
|
||||
#define strnlen mw_strnlen
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user