summaryrefslogtreecommitdiff
path: root/glib
diff options
context:
space:
mode:
authorChristian Persch <chpe@gnome.org>2014-06-19 19:29:16 +0200
committerMatthias Clasen <mclasen@redhat.com>2014-06-28 12:49:07 -0400
commit30ed5f53e205e6bfc35126a9d3c62dac8a9c5dad (patch)
tree5e4d001775e0dbec11ec521ee4649f72bca08af5 /glib
parent7e3d32b7053b47ca7feecf185abac96b619770c2 (diff)
unicode: Switch compose_second_single to gunichar
This will be required for the update to unicode 7.0.0.
Diffstat (limited to 'glib')
-rwxr-xr-xglib/gen-unicode-tables.pl5
1 files changed, 1 insertions, 4 deletions
diff --git a/glib/gen-unicode-tables.pl b/glib/gen-unicode-tables.pl
index 46c4b2708..ebcb4a44c 100755
--- a/glib/gen-unicode-tables.pl
+++ b/glib/gen-unicode-tables.pl
@@ -1323,12 +1323,9 @@ sub output_composition_table
# Output second singletons
- print OUT "static const guint16 compose_second_single[][2] = {\n";
+ print OUT "static const gunichar compose_second_single[][2] = {\n";
$i = 0;
for $record (@second_singletons) {
- if ($record->[1] > 0xFFFF or $record->[2] > 0xFFFF) {
- die "time to switch compose_second_single to gunichar";
- }
print OUT ",\n" if $i++ > 0;
printf OUT " { %#06x, %#06x }", $record->[1], $record->[2];
}