]> gitweb.factorcode.org Git - factor.git/commitdiff
images.loader.gdiplus: use foo <c-direct-array> instead of <direct-foo-array>.
authorJohn Benediktsson <mrjbq7@gmail.com>
Sun, 30 Nov 2014 02:58:42 +0000 (18:58 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Sun, 30 Nov 2014 02:58:42 +0000 (18:58 -0800)
basis/images/loader/gdiplus/gdiplus.factor

index 0eceef4a26a1a45ef4d4ec9b4cd06bc0ddc44fa7..25d403c00e1067e90e5195966465b8d836e54271 100644 (file)
@@ -76,7 +76,7 @@ ERROR: unsupported-pixel-format component-order ;
 : image-encoders ( -- codec-infos )\r
     image-encoders-size dup <byte-array> 3dup\r
     GdipGetImageEncoders check-gdi+-status\r
-    nip swap <direct-ImageCodecInfo-array> ;\r
+    nip swap ImageCodecInfo <c-direct-array> ;\r
 \r
 : extension>mime-type ( extension -- mime-type )\r
     ! Crashes if you let this mime through on my machine.\r