diff --git a/extra/ui/windows/windows.factor b/extra/ui/windows/windows.factor index 5e17d02542..d42c679b22 100755 --- a/extra/ui/windows/windows.factor +++ b/extra/ui/windows/windows.factor @@ -3,7 +3,7 @@ ! See http://factorcode.org/license.txt for BSD license. USING: alien alien.c-types alien.strings arrays assocs ui ui.gadgets ui.backend ui.clipboards ui.gadgets.worlds -ui.gestures io kernel math math.vectors namespaces prettyprint +ui.gestures io kernel math math.vectors namespaces sequences strings vectors words windows.kernel32 windows.gdi32 windows.user32 windows.opengl32 windows.messages windows.types windows.nt windows threads libc combinators continuations @@ -380,7 +380,7 @@ SYMBOL: trace-messages? "uint" { "void*" "uint" "long" "long" } "stdcall" [ [ pick - trace-messages? get-global [ dup windows-message-name . ] when + trace-messages? get-global [ dup windows-message-name word-name print flush ] when wm-handlers get-global at* [ call ] [ drop DefWindowProc ] if ] ui-try ] alien-callback ; diff --git a/extra/unicode/data/data.factor b/extra/unicode/data/data.factor index f9e5667947..125442e17f 100755 --- a/extra/unicode/data/data.factor +++ b/extra/unicode/data/data.factor @@ -46,11 +46,11 @@ VALUE: properties : (process-data) ( index data -- newdata ) filter-comments - [ [ nth ] keep first swap 2array ] with map + [ [ nth ] keep first swap ] with { } map>assoc [ >r hex> r> ] assoc-map ; : process-data ( index data -- hash ) - (process-data) [ hex> ] assoc-map >hashtable ; + (process-data) [ hex> ] assoc-map [ nip ] assoc-filter >hashtable ; : (chain-decomposed) ( hash value -- newvalue ) [