]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/game-input/game-input.factor
Delete empty unit tests files, remove 1- and 1+, reorder IN: lines in a lot of places...
[factor.git] / basis / game-input / game-input.factor
index 922906df483ffac80a4d7a029433b9c20a3c84c9..c21b900d8cf437d3a14d1262985c2a13b8aa9360 100755 (executable)
@@ -45,12 +45,12 @@ ERROR: game-input-not-open ;
     game-input-opened? [
         (open-game-input) 
     ] unless
-    game-input-opened [ 1+ ] change-global
+    game-input-opened [ 1 + ] change-global
     reset-mouse ;
 : close-game-input ( -- )
     game-input-opened [
         dup zero? [ game-input-not-open ] when
-        1-
+        1 -
     ] change-global
     game-input-opened? [
         (close-game-input)