fix very nasty bug that could cause billion of segfaults
This commit is contained in:
@@ -40,7 +40,7 @@ namespace
|
|||||||
|
|
||||||
bool has_non_ascii_chars(const char *s)
|
bool has_non_ascii_chars(const char *s)
|
||||||
{
|
{
|
||||||
for (; s; ++s)
|
for (; *s; ++s)
|
||||||
if (char_non_ascii(*s))
|
if (char_non_ascii(*s))
|
||||||
return true;
|
return true;
|
||||||
return false;
|
return false;
|
||||||
|
|||||||
Reference in New Issue
Block a user