summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/bdf2fbcon2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon
index 268f882..fb145ad 100755
--- a/bin/bdf2fbcon
+++ b/bin/bdf2fbcon
@@ -341,7 +341,7 @@ sub write_fbcon
$shifted_bitmap = $bitmap;
$shifted_bitmap <<= $bytes_x * 8 - $font->{'width'};
for ($k = ($bytes_x - 1) * 8; $k >= 0; $k -= 8) {
- printf("0x%02x, ",
+ printf($output_fh "0x%02x, ",
($shifted_bitmap >> $k) & 0xFF);
}
printf($output_fh "/* %0" . $font->{'width'} . "b */\n",