aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--README.org5
1 files changed, 2 insertions, 3 deletions
diff --git a/README.org b/README.org
index a25d704..a97d2ba 100644
--- a/README.org
+++ b/README.org
@@ -160,9 +160,8 @@ Here is a simple example where a handler is defined, from the pong game:
#+begin_src lisp
(ww:defhandler pong-mousemove
(ww:on-mousemotion (app)
- (setf (ww:x (paddle app))
- (- x (* 0.5 (ww:width (paddle app))))
- (dx (paddle app)) xrel)))
+ (setf (ww:x (paddle app)) (- x (* 0.5 (ww:width (paddle app))))
+ (dx (paddle app)) xrel)))
#+end_src
See the example for details.