blob: a9d1b72ef1a2023a26de616c5b48bf9a3be7fdbd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
--- src/hb-ot-layout-gsubgpos.hh
+++ src/hb-ot-layout-gsubgpos.hh
@@ -387,7 +387,7 @@
skip == matcher_t::SKIP_NO))
{
num_items--;
- match_glyph_data++;
+ if (match_glyph_data != nullptr) match_glyph_data++;
return true;
}
@@ -414,7 +414,7 @@
skip == matcher_t::SKIP_NO))
{
num_items--;
- match_glyph_data++;
+ if (match_glyph_data != nullptr) match_glyph_data++;
return true;
}
|