charset: compare unknown glyphs in custom tables
[sheet.git] / charset.plp
index 49f2d504e12dbfe145f44b7246fb0f99919c337d..2257fb8bbaf2987d6055f69a1c8ed12e82e9b915 100644 (file)
@@ -342,7 +342,7 @@ for my $row (@request) {
                                        $cp == ord $glyph ? 'l4' :
                                        $row->{parent} && $glyph eq
                                                Encode::decode($row->{parent}, pack 'C', $cp) ? 'l3' :
-                                       !$class ? undef :
+                                       !defined $cell ? undef :
                                        $visible->{$glyph} ? 'l2' :
                                        'l1'
                                );