summaryrefslogtreecommitdiffhomepage
path: root/src/Xmobar/Plugins/DateZone.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Xmobar/Plugins/DateZone.hs')
-rw-r--r--src/Xmobar/Plugins/DateZone.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Xmobar/Plugins/DateZone.hs b/src/Xmobar/Plugins/DateZone.hs
index 35767a8..7ac3ea1 100644
--- a/src/Xmobar/Plugins/DateZone.hs
+++ b/src/Xmobar/Plugins/DateZone.hs
@@ -72,7 +72,7 @@ instance Exec DateZone where
else
go (date f locale)
- where go func = func >>= cb >> tenthSeconds r >> go func
+ where go func = doEveryTenthSeconds r $ func >>= cb
{-# NOINLINE localeLock #-}
-- ensures that only one plugin instance sets the locale