[fix] unnecessary headers

This commit is contained in:
Al
2015-07-25 13:49:42 -04:00
parent e549e76806
commit ee96dab93c
2 changed files with 1 additions and 3 deletions

View File

@@ -26,7 +26,7 @@ string_script_t get_string_script(char *str, size_t len) {
bool is_ascii = true;
while (idx < len) {
ssize_t char_len = utf8proc_iterate(ptr, -1, &ch);
ssize_t char_len = utf8proc_iterate(ptr, len, &ch);
if (ch == 0) break;