ImageEditor.st
changeset 1559 31c19f47395b
parent 1558 3848cbaaf6d9
child 1570 77684ee67295
--- a/ImageEditor.st	Tue Mar 26 20:17:32 2002 +0100
+++ b/ImageEditor.st	Thu Mar 28 13:58:16 2002 +0100
@@ -3002,7 +3002,7 @@
 !
 
 makeSelectedColorBrighter
-    |depth img cMap newColorMap newImage oldCListSize newMode clr|
+    |img cMap newImage clr|
 
     img := self image.
     cMap := img colorMap.
@@ -3020,7 +3020,7 @@
     newImage := img species new
                     width:img width
                     height:img height
-                    depth:depth
+                    depth:nil
                     fromArray:img bits.
 
     newImage colorMap:cMap.  
@@ -3039,7 +3039,7 @@
 !
 
 makeSelectedColorDarker
-    |depth img cMap clr newImage|
+    |img cMap clr newImage|
 
     img := self image.
     cMap := img colorMap.
@@ -3056,7 +3056,7 @@
     newImage := img species new
                     width:img width
                     height:img height
-                    depth:depth
+                    depth:nil
                     fromArray:img bits.
 
     newImage colorMap:cMap.