diff options
author | Norbert Zeh <nzeh@cs.dal.ca> | 2009-07-31 04:54:48 +0200 |
---|---|---|
committer | Norbert Zeh <nzeh@cs.dal.ca> | 2009-07-31 04:54:48 +0200 |
commit | 73a3ef7912ce9c9d43d04767f06a7928087f1c51 (patch) | |
tree | fc57fae13764de24df0cdf355532b5bed569dbf1 | |
parent | 41516032e70037075733a0fb7a256fd3a544f4af (diff) | |
download | xmobar-73a3ef7912ce9c9d43d04767f06a7928087f1c51.tar.gz xmobar-73a3ef7912ce9c9d43d04767f06a7928087f1c51.tar.bz2 |
Fix right-alignment of strings
Ignore-this: c8788007de87e0832575047b9ba4780b
The alignment of right-aligned content was off by one. Fixed that.
darcs-hash:20090731025448-18a2b-bb7b517e2a9ac57f03914051d6203a980fd9fbf9.gz
-rw-r--r-- | Xmobar.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -277,7 +277,7 @@ printStrings dr gc fontst offs a sl@((s,c,l):xs) = do remWidth = fi wid - fi totSLen offset = case a of C -> (remWidth + offs) `div` 2 - R -> remWidth - 1 + R -> remWidth L -> offs (fc,bc) = case (break (==',') c) of (f,',':b) -> (f, b ) |