summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/bdf2fbcon1
1 files changed, 1 insertions, 0 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon
index 0d4d99c..bf4f047 100755
--- a/bin/bdf2fbcon
+++ b/bin/bdf2fbcon
@@ -315,6 +315,7 @@ sub write_fbcon
$i, $i, $char->{'name'});
for ($j = 0; $j < $font->{'height'}; ++$j) {
$bitmap = $char->{'bitmap'}[$i];
+ $bitmap = 0 unless ($bitmap);
printf($output_fh "\t");
$bitmap <<= $bytes_x * 8 - $font->{'width'};
for (my $k = ($bytes_x - 1) * 8; $k >= 0; $k -= 8) {