git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
digraphs/xorg: hide reversed aliases, matchvim option
[sheet.git]
/
digraphs.plp
diff --git
a/digraphs.plp
b/digraphs.plp
index 05d9241f41cdef1c86dc6671d807c1cd9e170524..5b5f4140b46d48421deb6f2ed6f6f99bb4a2bfd0 100644
(file)
--- a/
digraphs.plp
+++ b/
digraphs.plp
@@
-79,7
+79,7
@@
for my $c1group (@chars) {
my ($codepoint, $name, $support, $script, $string) =
@{ $di->{key}->{$mnem} };
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);
utf8::upgrade($glyph); # prevent latin1 output
my $desc = $mnem . ($name && " ($name)");
my @class = ('X', grep {$_} $script);