1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-01 03:21:41 +00:00

removed tabs

This commit is contained in:
Nikolay Kasyanov 2012-03-02 14:18:10 +04:00
parent fa3fbf940c
commit 70da2a2a99

View File

@ -21,10 +21,10 @@ static size_t mw_strnlen(const char *s, size_t n)
if (strnlen != NULL) { if (strnlen != NULL) {
return strnlen(s, n); return strnlen(s, n);
} }
else { else {
const char *p = (const char *)memchr(s, 0, n); const char *p = (const char *)memchr(s, 0, n);
return(p ? p-s : n); return(p ? p-s : n);
} }
} }
#define strnlen mw_strnlen #define strnlen mw_strnlen
#endif #endif