summaryrefslogtreecommitdiff
path: root/usr.sbin/kbdmap/kbdmap.pl
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/kbdmap/kbdmap.pl')
-rw-r--r--usr.sbin/kbdmap/kbdmap.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/kbdmap/kbdmap.pl b/usr.sbin/kbdmap/kbdmap.pl
index 6c637776edf67..64407bba9e570 100644
--- a/usr.sbin/kbdmap/kbdmap.pl
+++ b/usr.sbin/kbdmap/kbdmap.pl
@@ -85,7 +85,7 @@ sub font_current {
while(<F>) {
/^#/ && next;
- if (/^\s*font[0-9]+x[0-9]+\s*=\s*\"?([^\s\"]+)\"?/) {
+ if (/^\s*font[0-9]+x[0-9]+\s*=\s*(\S+)/) {
$font_current = $1 if $1 ne "NO";
}
}