ImageEditor.st
changeset 1435 f39893848245
parent 1433 df38b2a5d335
child 1436 180804d7c28f
--- a/ImageEditor.st	Sat Nov 18 13:40:10 2000 +0100
+++ b/ImageEditor.st	Sun Nov 19 13:28:45 2000 +0100
@@ -2478,7 +2478,7 @@
     |s n anyChange img|
 
     s := Dialog request:'Number of color bits to strip (1-7) ?'.
-    s isNil ifTrue:[^ self].
+    s size == 0 ifTrue:[^ self].
     n := Integer readFrom:s onError:0.
     (n between:1 and:7) ifFalse:[
         Dialog warn:'Image unchanged'.