From 338c56847874fb145c65cc8cea49492bf1a9ad1a Mon Sep 17 00:00:00 2001 From: Joe Groff Date: Sun, 2 May 2010 01:25:46 -0700 Subject: [PATCH] joystick-demo: missing iota --- extra/joystick-demo/joystick-demo.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/extra/joystick-demo/joystick-demo.factor b/extra/joystick-demo/joystick-demo.factor index 05440c8ae4..63814dfbf8 100644 --- a/extra/joystick-demo/joystick-demo.factor +++ b/extra/joystick-demo/joystick-demo.factor @@ -88,7 +88,7 @@ TUPLE: joystick-demo-gadget < pack axis raxis controller buttons alarm ; [ >>raxis ] [ add-gadget-with-border ] bi-curry bi* ; :: (add-button-gadgets) ( gadget shelf -- ) - gadget controller>> read-controller buttons>> length [ + gadget controller>> read-controller buttons>> length iota [ number>string [ drop ] shelf over add-gadget drop ] map gadget (>>buttons) ;