diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Main.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main.hs b/src/Main.hs index c6a5d2c7..8d5d0d08 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -215,7 +215,7 @@ render flags ifaces installedIfaces srcMap = do libDir <- getHaddockLibDir flags prologue <- getPrologue flags - themes <- getThemes libDir flags >>= either bye return + themes <- getThemes libDir flags >>= either bye return when (Flag_GenIndex `elem` flags) $ do ppHtmlIndex odir title pkgStr |