Do not list a null string in a dialog box.
This commit is contained in:
parent
690005781d
commit
de9b240dd7
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user