summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/bdf2fbcon5
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon
index f602aba..e6cda04 100755
--- a/bin/bdf2fbcon
+++ b/bin/bdf2fbcon
@@ -203,10 +203,11 @@ sub write_fbcon
}
}
+ $output_fh->printf("/*\n");
foreach (@{$font->{'comments'}}) {
- $output_fh->printf("/* %s */\n", $_);
+ $output_fh->printf(" * %s\n", ($_ or ''));
}
- $output_fh->printf("/* Generated by bdf2fbcon */\n\n");
+ $output_fh->printf(" * Generated by bdf2fbcon\n */\n\n");
$output_fh->printf("#include <linux/font.h>\n\n");
$output_fh->printf("#define FONTDATAMAX %d\n\n",
$bytes_x * $font->{'height'} * 256);