summaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/unicode/main.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/util/unicode/main.cpp b/util/unicode/main.cpp
index c5d04c0..5a2f45e 100644
--- a/util/unicode/main.cpp
+++ b/util/unicode/main.cpp
@@ -1004,9 +1004,10 @@ static void readDerivedNormalizationProps()
uint part1 = d.decomposition.at(0);
uint part2 = d.decomposition.at(1);
- UnicodeData first = unicodeData.value(part1, UnicodeData(part1));
- if (first.p.combiningClass != 0)
- continue;
+
+ // all non-starters are listed in DerivedNormalizationProps.txt
+ // and already excluded from composition
+ Q_ASSERT(unicodeData.value(part1, UnicodeData(part1)).p.combiningClass == 0);
++numLigatures;
highestLigature = qMax(highestLigature, (int)part1);