mirror of
https://github.com/storytold/harfbuzz.git
synced 2026-11-23 07:51:10 +01:00
[set] Respect stride
Ouch!
This commit is contained in:
1 parent
577becaf7b
commit
34ac3548b7
1 file changed
+2
-2
@@ -273,7 +273,7 @@ struct hb_set_t
|
||||
{
|
||||
page->add (g);
|
||||
|
||||
array++;
|
||||
array = (const T *) ((const char *) array + stride);
|
||||
count--;
|
||||
}
|
||||
while (count && (g = *array, start <= g && g < end));
|
||||
@@ -302,7 +302,7 @@ struct hb_set_t
|
||||
last_g = g;
|
||||
page->add (g);
|
||||
|
||||
array++;
|
||||
array = (const T *) ((const char *) array + stride);
|
||||
count--;
|
||||
}
|
||||
while (count && (g = *array, g < end));
|
||||
|
||||
Reference in new issue
Block a user