Fix haddock

This commit is contained in:
Spencer Janssen
2008-10-07 09:46:41 +00:00
parent 18444799e0
commit 15a78ae715

View File

@@ -429,8 +429,8 @@ pointScreen :: Position -> Position
pointScreen x y = withWindowSet $ return . find p . W.screens
where p = pointWithin x y . screenRect . W.screenDetail
-- | 'pointWithin x y r' returns 'True' if the '(x, y)' co-ordinate is within
-- the 'Rectangle'.
-- | @pointWithin x y r@ returns 'True' if the @(x, y)@ co-ordinate is within
-- @r@.
pointWithin :: Position -> Position -> Rectangle -> Bool
pointWithin x y r = x >= rect_x r &&
x < rect_x r + fromIntegral (rect_width r) &&