Depth8Image.st
changeset 7276 3af688594d98
parent 6837 e511316c0ed9
child 7322 051a91207011
--- a/Depth8Image.st	Sat Apr 02 19:46:26 2016 +0200
+++ b/Depth8Image.st	Sat Apr 02 19:46:37 2016 +0200
@@ -1,5 +1,3 @@
-"{ Encoding: utf8 }"
-
 "
  COPYRIGHT (c) 1993 by Claus Gittinger
 	      All Rights Reserved
@@ -90,7 +88,8 @@
 
     if (__isByteArrayLike(b)
      && __bothSmallInteger(x, y)
-     && __isSmallInteger(w) ) {
+     && __isSmallInteger(w)
+     && (__INST(pixelFunction)==nil) ) {
         int _idx, _pix;
 
         _idx = (__intVal(w) * __intVal(y)) + __intVal(x);
@@ -2464,10 +2463,10 @@
 !Depth8Image class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libview/Depth8Image.st,v 1.123 2015-04-13 17:26:00 cg Exp $'
+    ^ '$Header$'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libview/Depth8Image.st,v 1.123 2015-04-13 17:26:00 cg Exp $'
+    ^ '$Header$'
 ! !