Completed
Branch master (4dbcc3)
by Paul
01:59
created
class.ico.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             /**
97 97
              * Extract each icon header
98 98
              **/
99
-            for ($i = 0; $i < $this->ico['Count']; $i ++) {
99
+            for ($i = 0; $i < $this->ico['Count']; $i++) {
100 100
                 $icodata = unpack("CWidth/CHeight/CColorCount/CReserved/SPlanes/SBitCount/LSizeInBytes/LFileOffset", $data);
101 101
                 $icodata['FileOffset'] -= ($this->ico['Count'] * 16) + 6;
102 102
                 if ($icodata['ColorCount'] == 0) $icodata['ColorCount'] = 256;
@@ -242,7 +242,7 @@  discard block
 block discarded – undo
242 242
              * paint background
243 243
              **/
244 244
             $bgcolor = $this->AllocateColor($im, $this->bgcolor[0], $this->bgcolor[1], $this->bgcolor[2]);
245
-            imagefilledrectangle($im, 0 , 0, $this->formats[$index]['Width'], $this->formats[$index]['Height'], $bgcolor);
245
+            imagefilledrectangle($im, 0, 0, $this->formats[$index]['Width'], $this->formats[$index]['Height'], $bgcolor);
246 246
             
247 247
             /**
248 248
              * set background color transparent
Please login to merge, or discard this patch.