Do not list a null string in a dialog box.

This commit is contained in:
Kazutaka YOKOTA 1999-07-07 13:20:38 +00:00
parent da905eaaec
commit e47178acae
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=48665

View File

@ -26,7 +26,7 @@
#
# kbdmap/vidfont - front end for syscons
#
# $Id: kbdmap.pl,v 1.7 1997/05/19 07:30:45 jkh Exp $
# $Id: kbdmap.pl,v 1.8 1998/08/14 06:26:54 phk Exp $
# simple test if syscons works
@ -210,7 +210,9 @@ sub menu_read {
# sort menu, font 8x8 is less than 8x14 and 8x16
foreach $e (sort(keys %keymap)) {
push(@a, "\"$keymap{$e}\" \"\"");
if ($keymap{$e}) {
push(@a, "\"$keymap{$e}\" \"\"");
}
}
# side effects to @a
grep(s/8x8/8x08/, @a);