diff options
| author | Josh Rahm <rahm@google.com> | 2022-03-29 12:32:25 -0600 |
|---|---|---|
| committer | Josh Rahm <rahm@google.com> | 2022-03-29 12:32:25 -0600 |
| commit | a9286e8c39cc8de56de7a723c9ddabd78ac64198 (patch) | |
| tree | 112116f82364714a544028614c83a2f843453a09 /src/Internal/LayoutDraw.hs | |
| parent | 8678e0b8e6e2d25db7eebf2a90c78687530eb711 (diff) | |
| download | rde-a9286e8c39cc8de56de7a723c9ddabd78ac64198.tar.gz rde-a9286e8c39cc8de56de7a723c9ddabd78ac64198.tar.bz2 rde-a9286e8c39cc8de56de7a723c9ddabd78ac64198.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]) |