]> gitweb.factorcode.org Git - factor.git/blobdiff - basis/windows/directx/dinput/constants/constants.factor
specialized-arrays: performed some cleanup.
[factor.git] / basis / windows / directx / dinput / constants / constants.factor
index bd4ac93febe6bf178e26b0a58707c098c32051aa..1c8e0a3087699fa524f9f70cb53f5d68671a4a90 100755 (executable)
@@ -62,7 +62,7 @@ M: array array-base-type first ;
 
 : make-DIOBJECTDATAFORMAT-array-quot ( struct arr -- quot )
     [ nip length ] [ make-DIOBJECTDATAFORMAT-arrays ] 2bi '[
-        _ malloc-DIOBJECTDATAFORMAT-array
+        _ DIOBJECTDATAFORMAT malloc-array
         [ _ dup byte-length memcpy ]
         [ _ [ get >>pguid drop ] 2each ]
         [ ] tri