src/Pure/General/pretty.scala
changeset 37374 d66e6cc47fab
parent 36820 0cdfce0bf956
child 38230 ed147003de4b
--- a/src/Pure/General/pretty.scala	Sun Jun 13 22:33:18 2010 +0200
+++ b/src/Pure/General/pretty.scala	Sun Jun 13 23:04:09 2010 +0200
@@ -134,7 +134,7 @@
 
   def string_of(input: List[XML.Tree], margin: Int = margin_default,
       metric: String => Double = metric_default): String =
-    formatted(input).iterator.flatMap(XML.content).mkString
+    formatted(input, margin, metric).iterator.flatMap(XML.content).mkString
 
 
   /* unformatted output */