aboutsummaryrefslogtreecommitdiff
path: root/src/Internal/LayoutDraw.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Internal/LayoutDraw.hs')
-rw-r--r--src/Internal/LayoutDraw.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Internal/LayoutDraw.hs b/src/Internal/LayoutDraw.hs
index 131b32b..a105c98 100644
--- a/src/Internal/LayoutDraw.hs
+++ b/src/Internal/LayoutDraw.hs
@@ -114,7 +114,7 @@ drawXpmIO l = do
--
-- Create's an XPM, purely. Returns a string with the XPM contents.
-- Takes as arguments
---
+--
-- - dimensions of the icon.
-- - list of (color, rectangle) pairs.
-- - The amount to shrink the windows by for those pretty gaps.
@@ -134,7 +134,7 @@ drawXpm (w, h) rects' shrinkAmt = execWriter $ do
forM_ [0 .. h - 1] $ \y -> do
tell "\""
- forM_ [0 .. w - 1] $ \x ->
+ forM_ [0 .. w - 1] $ \x ->
(case find (matches x y) zipRects of
Nothing -> tell "%"
Just (chr, _) -> tell [chr])