]> gitweb.factorcode.org Git - factor.git/commitdiff
"ui-backend" variable can't be used to choose text backend
authorJoe Groff <arcata@gmail.com>
Sun, 3 May 2009 02:52:18 +0000 (21:52 -0500)
committerJoe Groff <arcata@gmail.com>
Sun, 3 May 2009 02:52:18 +0000 (21:52 -0500)
basis/ui/text/text.factor

index 2edb20fc2282c4f536ddd89a3ae146a88538d6eb..c1f05182e6f4f44206584dbe1254f607f918b3dd 100755 (executable)
@@ -75,10 +75,8 @@ M: array draw-text
 
 USING: vocabs.loader namespaces system combinators ;
 
-"ui-backend" get [
-    {
-        { [ os macosx? ] [ "core-text" ] }
-        { [ os windows? ] [ "uniscribe" ] }
-        { [ os unix? ] [ "pango" ] }
-    } cond
-] unless* "ui.text." prepend require
\ No newline at end of file
+{
+    { [ os macosx? ] [ "core-text" ] }
+    { [ os windows? ] [ "uniscribe" ] }
+    { [ os unix? ] [ "pango" ] }
+} cond "ui.text." prepend require