WindowsIconReader.st
changeset 3999 2e26f0d49ca9
parent 3988 1bc80a8c7566
child 4003 256b43a46036
--- a/WindowsIconReader.st	Tue Aug 29 23:12:04 2017 +0200
+++ b/WindowsIconReader.st	Tue Aug 29 23:14:17 2017 +0200
@@ -1397,6 +1397,7 @@
     
     self reportDimension.
 
+    numColor := numColor ? 0.
     numColor ~~ 0 ifTrue:[
         "read the colormap - notice: its in BGR order (sigh)"
 
@@ -1493,7 +1494,7 @@
     ^ self image
 
     "Modified: / 17-09-1995 / 18:48:46 / claus"
-    "Modified: / 28-08-2017 / 03:29:24 / cg"
+    "Modified: / 29-08-2017 / 23:12:59 / cg"
 !
 
 fromWindowsICOFile:aFilename