summaryrefslogtreecommitdiff
path: root/tools/gen-script-table.pl
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gen-script-table.pl')
-rwxr-xr-xtools/gen-script-table.pl6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/gen-script-table.pl b/tools/gen-script-table.pl
index 73cd72f9..da181f87 100755
--- a/tools/gen-script-table.pl
+++ b/tools/gen-script-table.pl
@@ -77,7 +77,7 @@ for (my $c = 0; $c < $easy_range; $c++) {
}
if ($c < $start) {
- printf " PANGO_SCRIPT_COMMON,";
+ printf " PANGO_SCRIPT_UNKNOWN,";
} else {
printf " PANGO_SCRIPT_%s,", $script;
}
@@ -112,9 +112,7 @@ for (; $i <= $#ranges; $i++) {
$end = $ranges[$i]->[1];
}
- if ($script ne "COMMON") {
- printf " { %#06x, %5d, PANGO_SCRIPT_%s },\n", $start, $end - $start + 1, $script;
- }
+ printf " { %#06x, %5d, PANGO_SCRIPT_%s },\n", $start, $end - $start + 1, $script;
}
printf "};\n";