summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorP. J. McDermott <pj@pehjota.net>2014-07-11 22:32:21 (EDT)
committer P. J. McDermott <pj@pehjota.net>2014-07-11 22:32:21 (EDT)
commit60df705d61a2329a195ad3005d30ae263c2cea54 (patch)
tree4347998e4f9b6fe08bf02e363a9aa24f7681ed47
parent2b66788a476d2c0dd84b1d74b904953cdbb59379 (diff)
write_fbcon(): Remove superfluous "my"
-rwxr-xr-xbin/bdf2fbcon2
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);
}