From 8b106b6a774c62c2729079c7199f878c6adca36b Mon Sep 17 00:00:00 2001 From: "U-SLAVA-DFB8FF805\\Slava" Date: Mon, 1 Dec 2008 17:54:35 -0600 Subject: [PATCH] Clean up a bit --- basis/ui/windows/windows.factor | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/basis/ui/windows/windows.factor b/basis/ui/windows/windows.factor index cb63833edd..1d3212c436 100755 --- a/basis/ui/windows/windows.factor +++ b/basis/ui/windows/windows.factor @@ -284,7 +284,7 @@ SYMBOL: nc-buttons message>button nc-buttons get swap [ push ] [ delete ] if ; -: >lo-hi ( WORD -- array ) [ lo-word ] keep hi-word 2array ; +: >lo-hi ( WORD -- array ) [ lo-word ] [ hi-word ] bi 2array ; : mouse-wheel ( wParam -- array ) >lo-hi [ sgn neg ] map ; : mouse-absolute>relative ( lparam handle -- array )