diff options
| author | Josh Rahm <rahm@google.com> | 2022-03-29 12:32:25 -0600 |
|---|---|---|
| committer | Josh Rahm <joshuarahm@gmail.com> | 2022-10-09 12:19:45 -0600 |
| commit | 03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f (patch) | |
| tree | 112116f82364714a544028614c83a2f843453a09 /src/Internal/LayoutDraw.hs | |
| parent | 4df5a598a5ce83bee4669fd5cc3ab6a3ef60b2fe (diff) | |
| download | rde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.tar.gz rde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.tar.bz2 rde-03906bb7a0183c5bc89c30ec3d31d47d06f5fc4f.zip | |
Remove trailing whitespace
Diffstat (limited to 'src/Internal/LayoutDraw.hs')
| -rw-r--r-- | src/Internal/LayoutDraw.hs | 4 |
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]) |