summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--Xmobar.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Xmobar.hs b/Xmobar.hs
index 1ad18e1..7dd51c0 100644
--- a/Xmobar.hs
+++ b/Xmobar.hs
@@ -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 )