diff options
-rwxr-xr-x | bin/bdf2fbcon | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/bdf2fbcon b/bin/bdf2fbcon index f42629c..96b1412 100755 --- a/bin/bdf2fbcon +++ b/bin/bdf2fbcon @@ -185,7 +185,7 @@ sub init_font $font->{'width'} = $opts{'w'} if (exists($opts{'w'})); $font->{'height'} = $opts{'h'} if (exists($opts{'h'})); - for ($i = 0; $i < 255; ++$i) { + for ($i = 0; $i < 256; ++$i) { $font->{'chars'}[$i] = { 'name' => 'hello', 'encoding' => undef, @@ -271,7 +271,7 @@ sub write_fbcon " fontdata_%s[FONTDATAMAX] = {\n", $font->{'name'}); - for ($i = 0; $i < 255; ++$i) { + for ($i = 0; $i < 256; ++$i) { $char = $font->{'chars'}[$i]; printf($output_fh "\n\t/* %3d 0x%02x '%s' */\n", $i, $i, $char->{'name'}); |