summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-07-11 16:18:47 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-07-11 16:18:47 (EDT)
commit67d43d50d57c9a3c2d49602550c008c2fd67eb5f (patch)
treed2d738dc9efc3070b0d353af2b7a91fdc9ecac9c
parent6209ae8bf5b514d3b93797da934176bae106901c (diff)
write_fbcon(): Pad numbers in char comments
-rwxr-xr-xbin/bdf2fbcon2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon
index cc49432..f42629c 100755
--- a/bin/bdf2fbcon
+++ b/bin/bdf2fbcon
@@ -273,7 +273,7 @@ sub write_fbcon
for ($i = 0; $i < 255; ++$i) {
$char = $font->{'chars'}[$i];
- printf($output_fh "\n\t/* %d 0x%x '%s' */\n",
+ printf($output_fh "\n\t/* %3d 0x%02x '%s' */\n",
$i, $i, $char->{'name'});
}