aboutsummaryrefslogtreecommitdiffhomepage
path: root/gui/button.lisp
diff options
context:
space:
mode:
authorcolin <colin@cicadas.surf>2024-12-14 12:29:29 -0800
committercolin <colin@cicadas.surf>2024-12-14 12:29:29 -0800
commit543704f0f54cbb1de78754ad8a323c482ab6829c (patch)
tree7528c0105516a2a2800e432de9f4f1a6c3fe506e /gui/button.lisp
parent3a2217263d581be9a7f629b10d75aa8e3d581890 (diff)
Loop style nitsHEADmain
Diffstat (limited to 'gui/button.lisp')
-rw-r--r--gui/button.lisp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui/button.lisp b/gui/button.lisp
index bebea08..dfb6a06 100644
--- a/gui/button.lisp
+++ b/gui/button.lisp
@@ -76,12 +76,12 @@
(macrolet
((def-accessors (&rest accessor-names)
(let ((defs
- (loop for accessor-name in accessor-names
- collect
+ (loop :for accessor-name :in accessor-names
+ :collect
`(defmethod ,accessor-name ((button button))
(,accessor-name (button-up button)))
- collect
+ :collect
`(defmethod (setf ,accessor-name) (newval (button button))
(setf (,accessor-name (button-up button)) newval
(,accessor-name (button-down button)) newval)