mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Fix track_graphemes
This commit is contained in:
@@ -107,7 +107,9 @@ decode_grapheme_clusters :: proc(
|
|||||||
|
|
||||||
it := decode_grapheme_iterator_make(str)
|
it := decode_grapheme_iterator_make(str)
|
||||||
for _, grapheme in decode_grapheme_iterate(&it) {
|
for _, grapheme in decode_grapheme_iterate(&it) {
|
||||||
append(&graphemes, grapheme)
|
if track_graphemes {
|
||||||
|
append(&graphemes, grapheme)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
grapheme_count = it.grapheme_count
|
grapheme_count = it.grapheme_count
|
||||||
|
|||||||
Reference in New Issue
Block a user