[fix] Add original string to normalizations if all options were set to false
This commit is contained in:
@@ -100,6 +100,8 @@ void add_latin_alternatives(string_tree_t *tree, char *str, size_t len, uint64_t
|
|||||||
}
|
}
|
||||||
free(transliterated);
|
free(transliterated);
|
||||||
transliterated = NULL;
|
transliterated = NULL;
|
||||||
|
} else {
|
||||||
|
string_tree_add_string(tree, str);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (prev_string != NULL) {
|
if (prev_string != NULL) {
|
||||||
|
|||||||
Reference in New Issue
Block a user