BLI_strlen_utf8 was doing size_t / int conversion unnecessarily.

This commit is contained in:
Campbell Barton
2013-04-27 19:40:23 +00:00
parent 4c389127c1
commit 25e82fe62d

View File

@@ -263,7 +263,7 @@ static size_t strlen_utf8_char(const char *strc)
size_t BLI_strlen_utf8(const char *strc)
{
int len;
size_t len;
for (len = 0; *strc; len++)
strc += strlen_utf8_char(strc);