summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSpencer Janssen <sjanssen@cse.unl.edu>2007-05-28 08:26:58 +0200
committerSpencer Janssen <sjanssen@cse.unl.edu>2007-05-28 08:26:58 +0200
commit98c3fe61254693e23aad7fa306cb6fd4a97787d0 (patch)
tree12237960bdb9ebdc27d5072c508b8b88b418c323
parentea25401cbc801fa1500ecdb88f821756e0606521 (diff)
downloadmetatile-98c3fe61254693e23aad7fa306cb6fd4a97787d0.tar
metatile-98c3fe61254693e23aad7fa306cb6fd4a97787d0.zip
Fix manpage generator
darcs-hash:20070528062658-a5988-23ac3002eafd26c92e5fe413215fc5212d3611bb
-rw-r--r--util/GenerateManpage.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/GenerateManpage.hs b/util/GenerateManpage.hs
index 540c74c..5137184 100644
--- a/util/GenerateManpage.hs
+++ b/util/GenerateManpage.hs
@@ -36,7 +36,7 @@ allBindings xs = map (binding . map trim) (xs =~ "(.*)--(.*)@@(.*)")
-- FIXME: What escaping should we be doing on these strings?
troff :: (String, String) -> String
-troff (key, desc) = ".IP \\fB" ++ key ++ "\\fR\n" ++ desc ++ "\n"
+troff (key, desc) = ".IP\n \\fB" ++ key ++ "\\fR\n" ++ desc ++ "\n"
replace :: Eq a => a -> a -> [a] -> [a]
replace x y = map (\a -> if a == x then y else a)