mirror of https://github.com/libAthena/athena.git
utf8proc null-pointer handling
This commit is contained in:
parent
ed7161b7f8
commit
8fce7ce161
|
@ -278,7 +278,7 @@ public:
|
|||
{
|
||||
UTF8Iterator it(m_it);
|
||||
size_t ret = 0;
|
||||
while (it.iter() < end)
|
||||
while (it.iter() < end && *it != '\0')
|
||||
{
|
||||
++ret;
|
||||
++it;
|
||||
|
|
Loading…
Reference in New Issue