2013-07-17 10:11:34 +00:00
|
|
|
diff -ru orig.icu/source/layout/LookupProcessor.cpp icu/source/layout/LookupProcessor.cpp
|
2016-04-15 16:01:59 +00:00
|
|
|
--- orig.icu/source/layout/LookupProcessor.cpp 2016-03-23 21:56:44.000000000 +0100
|
|
|
|
+++ icu/source/layout/LookupProcessor.cpp 2016-04-15 18:19:26.903927005 +0200
|
|
|
|
@@ -223,7 +223,9 @@
|
2011-09-07 09:39:00 +00:00
|
|
|
|
|
|
|
if (requiredFeatureIndex != 0xFFFF) {
|
2013-07-17 10:11:34 +00:00
|
|
|
requiredFeatureTable = featureListTable->getFeatureTable(featureListTable, requiredFeatureIndex, &requiredFeatureTag, success);
|
2016-04-15 16:01:59 +00:00
|
|
|
- featureReferences += SWAPW(requiredFeatureTable->lookupCount);
|
2013-07-17 10:11:34 +00:00
|
|
|
+ if (requiredFeatureTable.isValid()) {
|
|
|
|
+ featureReferences += SWAPW(requiredFeatureTable->lookupCount);
|
|
|
|
+ }
|
2011-09-07 09:39:00 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
lookupOrderArray = LE_NEW_ARRAY(le_uint16, featureReferences);
|