mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 16:01:07 +01:00
[cmap] Minor change iterator
This commit is contained in:
1 parent
2cdaedaf54
commit
4cdb5cc69b
1 file changed
+1
-1
@@ -928,7 +928,7 @@ struct DefaultUVS : SortedArray32Of<UnicodeValueRange>
|
||||
hb_codepoint_t lastCode = HB_MAP_VALUE_INVALID;
|
||||
int count = -1;
|
||||
|
||||
for (const UnicodeValueRange& _ : as_array ())
|
||||
for (const UnicodeValueRange& _ : *this)
|
||||
{
|
||||
hb_codepoint_t curEntry = (unsigned) _.startUnicodeValue - 1;
|
||||
hb_codepoint_t end = curEntry + _.additionalCount + 2;
|
||||
|
||||
Reference in new issue
Block a user