#BUGFIX by cg
class: WindowsIconReader
changed: #fromWindowsBMPStream:alreadyRead:
nil value check
--- 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