2007-11-20 Bastien Nocera <hadess@hadess.net>
* io-icns.c: (load_resources): Add support for 512x512 Leopard
icons, using the ic09 iconType
svn path=/trunk/; revision=19009
+2007-11-20 Bastien Nocera <hadess@hadess.net>
+
+ * io-icns.c: (load_resources): Add support for 512x512 Leopard
+ icons, using the ic09 iconType
+
2007-11-20 Bastien Nocera <hadess@hadess.net>
* Makefile.am:
switch (size)
{
case 256:
- if (memcmp (header->id, "ic08", 4) == 0) /* 256x256 icon */
+ case 512:
+ if (memcmp (header->id, "ic08", 4) == 0 /* 256x256 icon */
+ || memcmp (header->id, "ic09", 4) == 0) /* 512x512 icon */
{
*picture = (gpointer) (current + sizeof (IcnsBlockHeader));
*plen = blocklen - sizeof (IcnsBlockHeader);