Repository : ssh://darcs.haskell.org//srv/darcs/packages/Cabal

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/f38527f31d3484fdf4d805b990b701773c3fee55

>---------------------------------------------------------------

commit f38527f31d3484fdf4d805b990b701773c3fee55
Author: Brent Yorgey <[email protected]>
Date:   Fri Mar 7 19:21:59 2008 +0000

    List.hs: fix synopsis paragraph wrapping

>---------------------------------------------------------------

 cabal-install/Hackage/List.hs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cabal-install/Hackage/List.hs b/cabal-install/Hackage/List.hs
index 0cd8856..bc0852e 100644
--- a/cabal-install/Hackage/List.hs
+++ b/cabal-install/Hackage/List.hs
@@ -95,7 +95,7 @@ data PackageDisplayInfo = PackageDisplayInfo {
 
 showPackageInfo :: PackageDisplayInfo -> String
 showPackageInfo pkg =
-  render $
+  renderStyle (style {lineLength = 80, ribbonsPerLine = 1}) $
      text " *" <+> text (name pkg)
      $+$
      (nest 6 $ vcat [



_______________________________________________
Cvs-libraries mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/cvs-libraries

Reply via email to