XPMReader.st
changeset 36 3a7ec58dff8e
parent 32 6bdcb6da4d4f
child 41 66edc847b9c8
--- a/XPMReader.st	Mon Feb 06 01:37:58 1995 +0100
+++ b/XPMReader.st	Mon Feb 06 01:39:52 1995 +0100
@@ -21,7 +21,7 @@
 COPYRIGHT (c) 1994 by Claus Gittinger
 	      All Rights Reserved
 
-$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.4 1994-11-17 14:30:07 claus Exp $
+$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.5 1995-02-06 00:39:52 claus Exp $
 '!
 
 !XPMReader class methodsFor:'documentation'!
@@ -42,7 +42,7 @@
 
 version
 "
-$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.4 1994-11-17 14:30:07 claus Exp $
+$Header: /cvs/stx/stx/libview2/XPMReader.st,v 1.5 1995-02-06 00:39:52 claus Exp $
 "
 !
 
@@ -171,7 +171,8 @@
     redMap := Array new:colorMapSize.
     greenMap := Array new:colorMapSize.
     blueMap := Array new:colorMapSize.
-    colorMap := Array with:redMap with:greenMap with:blueMap.
+"/    colorMap := Array with:redMap with:greenMap with:blueMap.
+    colorMap := Colormap redVector:redMap greenVector:greenMap blueVector:blueMap.
 
     1 to:colorMapSize do:[:colorIndex |
 	|index line color|