Allow NULL as parameter in StrLenInWChar.

This commit is contained in:
jief 2020-03-11 19:32:08 +03:00
parent 8931f35eb8
commit 3e95e94a05

View File

@ -17,6 +17,7 @@
size_t StrLenInWChar(const char *s)
{
if ( !s ) return 0;
size_t dst_len = 0;
while ( *s ) {