aboutsummaryrefslogtreecommitdiffhomepage
path: root/README.org
diff options
context:
space:
mode:
authorColin Okay <colin@cicadas.surf>2022-07-09 09:17:14 -0500
committerColin Okay <colin@cicadas.surf>2022-07-09 09:17:14 -0500
commit74c85df8a56eb18634c5d68953e078ab99585ade (patch)
tree28f4f1ded132ed447edc3f7c5abe793819b2a351 /README.org
parentff91597716189688f314e5ffe4ba0cb8b92a7c56 (diff)
[formatting] [doc] readme
Diffstat (limited to 'README.org')
-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.