Depth24Image.st
changeset 235 579f3f804a46
parent 219 9ff0660f447f
child 236 441ee542da50
--- a/Depth24Image.st	Tue Nov 21 15:02:20 1995 +0100
+++ b/Depth24Image.st	Wed Nov 22 15:07:46 1995 +0100
@@ -34,7 +34,7 @@
 !
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Depth24Image.st,v 1.16 1995-11-11 15:49:12 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libview/Depth24Image.st,v 1.17 1995-11-22 14:06:29 cg Exp $'
 !
 
 documentation
@@ -928,7 +928,7 @@
     ] ifFalse:[
 	has8BitImage := false.
 	aDevice supportedImageFormats do:[:fmt |
-	    (fmt at:2) == 8 ifTrue:[
+	    (fmt at:#bitsPerPixel) == 8 ifTrue:[
 		has8BitImage := true.
 	    ]
 	]