diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/bdf2fbcon | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon index bd61b28..d995d9b 100755 --- a/bin/bdf2fbcon +++ b/bin/bdf2fbcon @@ -320,7 +320,7 @@ sub write_fbcon printf($output_fh "\t"); $shifted_bitmap = $bitmap; $shifted_bitmap <<= $bytes_x * 8 - $font->{'width'}; - for (my $k = ($bytes_x - 1) * 8; $k >= 0; $k -= 8) { + for ($k = ($bytes_x - 1) * 8; $k >= 0; $k -= 8) { printf("0x%02x, ", ($shifted_bitmap >> $k) & 0xFF); } |