mirror of
https://github.com/CloverHackyColor/CloverBootloader.git
synced 2024-11-23 11:35:19 +01:00
Allow NULL as parameter in StrLenInWChar.
This commit is contained in:
parent
8931f35eb8
commit
3e95e94a05
@ -17,6 +17,7 @@
|
||||
|
||||
size_t StrLenInWChar(const char *s)
|
||||
{
|
||||
if ( !s ) return 0;
|
||||
size_t dst_len = 0;
|
||||
|
||||
while ( *s ) {
|
||||
|
Loading…
Reference in New Issue
Block a user