aboutsummaryrefslogtreecommitdiff
path: root/src/clojure
diff options
context:
space:
mode:
Diffstat (limited to 'src/clojure')
-rw-r--r--src/clojure/contrib/miglayout/example.clj5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/clojure/contrib/miglayout/example.clj b/src/clojure/contrib/miglayout/example.clj
index 2fc292ee..b077af76 100644
--- a/src/clojure/contrib/miglayout/example.clj
+++ b/src/clojure/contrib/miglayout/example.clj
@@ -29,9 +29,10 @@
(catch NumberFormatException _ "input?")))
(defn- handle-key
- [evt in out]
+ "Clear output on most keys, show coversion on \"Enter\""
+ [event in out]
(.setText out
- (if (= (.getKeyChar evt) \newline)
+ (if (= (.getKeyChar event) \newline)
(fahrenheit (.getText in))
"")))