mirror of
https://github.com/torvalds/linux.git
synced 2026-04-18 06:44:00 -04:00
lib/fonts: Remove trailing whitespaces
Fix coding style. No functional changes. Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de> Signed-off-by: Helge Deller <deller@gmx.de>
This commit is contained in:
committed by
Helge Deller
parent
e370d84b79
commit
e7564d8063
@@ -68,7 +68,7 @@ static const struct font_data acorndata_8x8 = {
|
||||
/* 3A */ 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x00, /* : */
|
||||
/* 3B */ 0x00, 0x00, 0x18, 0x18, 0x00, 0x18, 0x18, 0x30, /* ; */
|
||||
/* 3C */ 0x0C, 0x18, 0x30, 0x60, 0x30, 0x18, 0x0C, 0x00, /* < */
|
||||
/* 3D */ 0x00, 0x00, 0x7E, 0x00, 0x7E, 0x00, 0x00, 0x00, /* = */
|
||||
/* 3D */ 0x00, 0x00, 0x7E, 0x00, 0x7E, 0x00, 0x00, 0x00, /* = */
|
||||
/* 3E */ 0x30, 0x18, 0x0C, 0x06, 0x0C, 0x18, 0x30, 0x00, /* > */
|
||||
/* 3F */ 0x3C, 0x66, 0x0C, 0x18, 0x18, 0x00, 0x18, 0x00, /* ? */
|
||||
/* 40 */ 0x3C, 0x66, 0x6E, 0x6A, 0x6E, 0x60, 0x3C, 0x00, /* @ */
|
||||
|
||||
@@ -18,15 +18,15 @@
|
||||
s{((0x)?[0-9a-fA-F]+)(.*\[([\*\ ]{4})\])}{
|
||||
|
||||
($num,$pat,$bits) = ($1,$3,$4);
|
||||
|
||||
|
||||
$bits =~ s/([^\s0])|(.)/ defined($1) + 0 /ge;
|
||||
|
||||
|
||||
$num = ord(pack("B8", $bits));
|
||||
$num |= $num >> 4;
|
||||
$num = sprintf("0x%.2x", $num);
|
||||
|
||||
|
||||
#print "$num,$pat,$bits\n";
|
||||
|
||||
|
||||
$num . $pat;
|
||||
}ge;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user