mirror of
https://github.com/libretro/RetroArch
synced 2025-02-16 03:40:12 +00:00
Cleanup strlen_size
This commit is contained in:
parent
ed6f32fd80
commit
6a88b3f20e
@ -79,7 +79,7 @@ static INLINE size_t strlen_size(const char *str, size_t size)
|
||||
{
|
||||
size_t i = 0;
|
||||
if (str)
|
||||
for(; (i < size) && str[i]; ++i);
|
||||
while (i < size && str[i]) i++;
|
||||
return i;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user