--- a/WindowsIconReader.st Sat Feb 27 23:36:50 2016 +0100
+++ b/WindowsIconReader.st Sat Feb 27 23:37:02 2016 +0100
@@ -1,3 +1,5 @@
+"{ Encoding: utf8 }"
+
"
COPYRIGHT (c) 1993 by Claus Gittinger
All Rights Reserved
@@ -244,7 +246,9 @@
"return true, if anImage can be represented in my file format.
BMP supports depth 1,4,8 and 24."
- ^ (#(1 4 8 24) includes:anImage depth)
+ (#(1 4 8 24) includes:anImage depth) ifTrue:[^true].
+ ('WindwsIconReader [info]: image depth is not 1,4,8 or 24.') infoPrintCR.
+ ^ false
"Created: 17.10.1997 / 20:18:23 / cg"
!