~mdw
/
sgt
/
putty
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Sebastian Kuschel reports that pfd_closing can be called for a socket
[sgt/putty]
/
icons
/
icon.pl
diff --git
a/icons/icon.pl
b/icons/icon.pl
index
b9cce7e
..
f746d69
100755
(executable)
--- a/
icons/icon.pl
+++ b/
icons/icon.pl
@@
-203,7
+203,8
@@
sub readicon {
$currbits += $depth;
if ($x < $w && defined ($pix = $data->[$y*$w+$x])) {
if (!defined $pal{$pix}) {
$currbits += $depth;
if ($x < $w && defined ($pix = $data->[$y*$w+$x])) {
if (!defined $pal{$pix}) {
- die "illegal colour value $pix at pixel $i in $filename\n";
+ $pixhex = sprintf "%02x%02x%02x", unpack "CCC", $pix;
+ die "illegal colour value $pixhex at pixel ($x,$y) in $filename\n";
}
$currbyte |= $pal{$pix};
}
}
$currbyte |= $pal{$pix};
}