summaryrefslogtreecommitdiff
path: root/include/video_font_4x6.h
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2013-10-07 13:07:26 +0200
committerTom Rini <trini@ti.com>2013-10-14 16:06:53 -0400
commit3765b3e7bd0f8e46914d417f29cbcb0c72b1acf7 (patch)
tree80d776e436f91c40659d4b9f955de764bb002533 /include/video_font_4x6.h
parente84b8f6ce0e7daf4e9781172c4ffd74d7d525dbb (diff)
Coding Style cleanup: remove trailing white space
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'include/video_font_4x6.h')
-rw-r--r--include/video_font_4x6.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/video_font_4x6.h b/include/video_font_4x6.h
index d1778d5b5be..0dcd2debcbd 100644
--- a/include/video_font_4x6.h
+++ b/include/video_font_4x6.h
@@ -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;