digraphs/xorg: hide reversed aliases, matchvim option
[sheet.git] / digraphs.plp
index 05d9241f41cdef1c86dc6671d807c1cd9e170524..5b5f4140b46d48421deb6f2ed6f6f99bb4a2bfd0 100644 (file)
@@ -79,7 +79,7 @@ for my $c1group (@chars) {
                        my ($codepoint, $name, $support, $script, $string) =
                                @{ $di->{key}->{$mnem} };
 
-                       my $glyph = $string || chr $codepoint;
+                       my $glyph = $string || !!$codepoint && chr $codepoint;
                        utf8::upgrade($glyph);  # prevent latin1 output
                        my $desc = $mnem . ($name && " ($name)");
                        my @class = ('X', grep {$_} $script);