Fix enumerate-graphics-types per documentation.
authorMatt Birkholz <matt@birchwood-abbey.net>
Fri, 17 May 2019 16:33:16 +0000 (09:33 -0700)
committerMatt Birkholz <matt@birchwood-abbey.net>
Fri, 17 May 2019 16:35:55 +0000 (09:35 -0700)
src/runtime/graphics.scm

index ed37bde78789b9df7747749a9697a19aef7eb8e8..c9c4c3a4a5edc5603f724e5865bff9fb2ad44e16 100644 (file)
@@ -217,7 +217,8 @@ USA.
   (graphics-type type #f))
 
 (define (enumerate-graphics-types)
-  (filter graphics-device-type/available? graphics-types))
+  (map graphics-device-type/name
+       (filter graphics-device-type/available? graphics-types)))
 
 (define (graphics-device-type/available? type)
   ((graphics-device-type/operation/available? type)))