Fixed stc compilation error
authorJan Vrany <jan.vrany@fit.cvut.cz>
Mon, 20 Jan 2014 09:38:56 +0000
changeset 156 9b02027653ed
parent 155 d792aed09149
child 157 c71d2e62ece2
Fixed stc compilation error
SmallSense__EditSupport.st
--- a/SmallSense__EditSupport.st	Mon Jan 20 09:34:34 2014 +0000
+++ b/SmallSense__EditSupport.st	Mon Jan 20 09:38:56 2014 +0000
@@ -230,18 +230,18 @@
     "raise an error: this method should be implemented (TODO)"
 
     ignoreKeystrokes notNil ifTrue:[
-        ^ (ignoreKeystrokes at: ignoreKeystrokesPosition) == key ifTrue:[
+        (ignoreKeystrokes at: ignoreKeystrokesPosition) == key ifTrue:[
             "/ Key stroke should be ignored...
             ignoreKeystrokesPosition := ignoreKeystrokesPosition + 1.
             ignoreKeystrokesPosition > ignoreKeystrokes size ifTrue:[
                 "/ Nil out instvars if there's no more keys to ignore.
                 ignoreKeystrokes := ignoreKeystrokesPosition := nil.
             ].
-            true.
+            ^ true.
         ] ifFalse:[
             "/ Nil out instvars, user typed something else!!
             ignoreKeystrokes := ignoreKeystrokesPosition := nil.
-            false.
+            ^ false.
         ].
     ].
     ^ false.